Jordi Boggiano
6cf4ba051c
Update messaging about plugin errors
4 years ago
Simon Berger
bae227ec2d
Changed all substr calls used to compare fragments of text to strpos
...
Some additional code cleanups in those classes
Reverted change causing issues
4 years ago
Jordi Boggiano
199696d120
Fix undefined method call
4 years ago
Jordi Boggiano
b159e4da7e
Merge pull request #9172 from Toflar/platform-repo-cleanup
...
Consistently reuse new PlatformRepository::isPlatformPackage()
4 years ago
Yanick Witschi
bd6f62c535
Consistently reuse the new PlatformRepository::isPlatformPackage() method
4 years ago
Nils Adermann
4ac9f44571
Clear up PoolBuilder comment after code move
4 years ago
Nils Adermann
7b990f3767
PoolBuilder: Move merging of constaints to be loaded into relevant section
4 years ago
Nils Adermann
b2670945bd
PoolBuilder: clear up comment, matching and identity are different for constraints
4 years ago
Yanick Witschi
a1e1cd8fa4
Do not trigger Intervals::isSubsetOf() over and over again for platform packages
4 years ago
Jordi Boggiano
9a04ecefbf
Merge branch 'master' into filter-packages
4 years ago
Jordi Boggiano
f516d36f6f
Make sure Request::requireName can not be called twice for the same name
4 years ago
Jordi Boggiano
448daea696
Add support for detecting packages not matching only due to minimum stability
4 years ago
Oleg Andreyev
f262feebec
fixing error message for higher repository priority, when higher repo has only a dev-branch
4 years ago
Jordi Boggiano
00e268cdbf
Clear Intervals cache when we are done with it
4 years ago
Jordi Boggiano
2d3905157d
Merge branch '1.10'
4 years ago
Tyson Andre
e5c7835d57
Properly support PHP 8.0 Named Arguments
...
See https://wiki.php.net/rfc/named_params#internal_functions
(implemented but not yet merged)
An ArgumentCountError will be thrown when passing variadic arguments to
a function with call_user_func_array() if extra unknown named arguments
are encountered.
Fatal error: Uncaught ArgumentCountError: array_merge() does not accept unknown named parameters in phar:///path/to/composer.phar/src/Composer/DependencyResolver/DefaultPolicy.php:84
(e.g. for `['phpunit/phpunit' => [72]]`)
4 years ago
Jordi Boggiano
071350286f
Compact constraints to avoid ending up with very long multi constraints
4 years ago
Jordi Boggiano
22367a68f9
Avoid loading same packages multiple times
4 years ago
Yanick Witschi
6ba0f3adf9
Merge branch 'master' into filter-packages
...
* master: (59 commits)
Update deps
Reuse repository manager and others directly from the Composer instance, refs #9057
Fix usage of create-project with local filesystem repos
Fix return value
Add support for multiple --repository additions in create-project, and make --add-repository delete the lock file, fixes #8853
Remove cygwin php handling in UAC elevation
Clean up a little to make impl less invasive and to handle replacers/providers
Supply event dispatcher in Create Project Command
Avoid attempting to use /etc/xdg as base config home, fixes #9053 , refs #9045
Create an issue @ Docker repository on tag
Mark transaction classes internal, refs #8827
Prepare 1.10.9 release
Remove highest/lowest builds for 1.10 maintenance branch
Fix bitbucket detection of redirects to login page, fixes #9041
Fix doc comment
Fixed spelling mistake
Add Windows UAC elevation to self-update command
GitLab: clarify interactive auth prompt
Improve support for XDG and default to XDG config dir if both that and ~/.composer are available, fixes #9045
Fix #9033 - inconsistent behavior with minor-only flag
...
4 years ago
Jordi Boggiano
89d35af83d
Mark transaction classes internal, refs #8827
4 years ago
Nils Adermann
3f5dde9873
Solver: Ensure multi conflict rules still get added to learned pool
4 years ago
Nils Adermann
edef748169
Solver: Clarify when/why undecided literals can get skipped in analyze
4 years ago
Nils Adermann
851050e85c
Solver: multiconflict analyze handles positive decision same as regular literal
4 years ago
Nils Adermann
6e05345be7
Solver: Move analyze handling of multiconflict rule to clearer location
...
This way we're not looking at the previous decision at the top of the
loop but working with the current decision at the bottom
4 years ago
Nils Adermann
b34f916470
Solver: No need to check previous decision if we reached the first one
4 years ago
Nils Adermann
2631210493
Solver: analyze multi conflict rules in conflict resolution correctly
4 years ago
Jordi Boggiano
6f9b39180c
Add phpdocs
4 years ago
Jordi Boggiano
05dacbdabb
Rename DEV_MASTER_ALIAS to DEFAULT_BRANCH_ALIAS
4 years ago
Yanick Witschi
ea0ce9dd7d
Merge branch 'master' into filter-packages
4 years ago
Nils Adermann
edd2aa27db
Add missing isVerbose argument to problem formatting call
4 years ago
Jordi Boggiano
83c64a9d19
Reuse operation formatting logic in downloaders
4 years ago
Jordi Boggiano
5aae7f4f20
Merge remote-tracking branch 'jderusse/optimize-compile'
4 years ago
Jordi Boggiano
a797ee1322
Fix inline aliases not being loaded when extracting dev requirements, fixes #8954
4 years ago
Graham Campbell
fa799970ad
Replace whitelist with allow list
4 years ago
Jordi Boggiano
2fa58ccf96
Reduce amount of packages loaded by avoiding extensions of the constraint beyond the root constraint
4 years ago
Jordi Boggiano
4b9b499ce5
Fix issue loading aliases and fix markPackageNameForLoading when called twice in a row for same package it would overwrite the constraint the second time
4 years ago
Jordi Boggiano
f2befc46c9
Avoid storing duplicate packages when loading the same package twice
4 years ago
Jordi Boggiano
67a88880ec
Get rid of EmptyConstraint
4 years ago
Jordi Boggiano
cb19347031
Update to latest master
4 years ago
Yanick Witschi
b6c436598b
Updated to latest semver intervals
4 years ago
Yanick Witschi
6ef47baca1
Added a todo for package dupes
4 years ago
Yanick Witschi
014e9d5dd1
Fixed last remaining pool builder test
4 years ago
Yanick Witschi
5097ed6480
Fixed another test
4 years ago
Yanick Witschi
5a835db24d
Fixed another partial update test
4 years ago
Yanick Witschi
7be24dccd9
Fixed some of the partial update tests
4 years ago
Yanick Witschi
225a6a0a82
Improved variable naming
4 years ago
Yanick Witschi
0955d38374
Simplify package loading
4 years ago
Yanick Witschi
779b56ab2b
Fixed psalm annotations
4 years ago
Yanick Witschi
b00291cf21
CS
4 years ago
Yanick Witschi
00500f83c0
Using the current subset branch of @Seldaek to fix subset tests
4 years ago