728 Commits (0b3adc84da1936d72508734e946448ac85b8edf7)

Author SHA1 Message Date
Jason Woods efc7a3f75f
fix: Do not optimise away packages due to a requirement by a locked package that will be uninstalled (#10405)
Fixes #10394

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano 84f8fda0c6
Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795 3 years ago
Jordi Boggiano 95e41ae61c
Fix phpstan 3 years ago
Jordi Boggiano d81298239b
Fix display of conflicts when a rule has the conflicter out of order, fixes #10355 3 years ago
Jordi Boggiano 4e8f3e85e2
Improve error reporting for repo priorities, refs #10339 3 years ago
Jason Woods 8c8d9efd87
Filter impossible packages from the pool (#9620)
Adds a new pass to the PoolOptimizer

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
Jordi Boggiano ca5d5b40ee
Fix platform package description for replacer/provider and packages which are not really loaded in general 3 years ago
Jordi Boggiano e30a6b0b9b
Add support for ignoring the upper bound of platform requirements using "name+" notation 3 years ago
Jordi Boggiano 24ce1eddbd
Add composer/pcre dependency and use it everywhere instead of preg_* 3 years ago
Wataru Kurashima 10f8edb816
fix typo (#10331) 3 years ago
Shalvah 7a3d2b8157
Better hint for missing extensions (#10283) 3 years ago
Nils Adermann 645e5245dd
Error message grammar fix 3 years ago
Jordi Boggiano a6fc1ab663
Fix feedback 3 years ago
Jordi Boggiano 4352f23962
Fix implementation & tweak test 3 years ago
Jordi Boggiano bd4ba36fa9
Prevent auto-unlocked path repo packages from also unlocking their transitive deps when -w/-W is used 3 years ago
Jordi Boggiano 91548d178b
Add support for setting platform packages to false to disable them (#10308)
Fixes #9664
3 years ago
Jordi Boggiano bbc442b0ad
Undo changes to providers, only unlock replacers when unlocking a given name 3 years ago
Jordi Boggiano 3242de2438
Backport tests from #9538 and fix everything 3 years ago
Jordi Boggiano 13b7527fca
Fix unlocking of replacers when a replaced package is unlocked in partial updates 3 years ago
Jordi Boggiano f509c41280
Upgrade PHPStan to 1.0 (#10253)
Co-authored-by: Martin Herndl <martin@herndl.org>
3 years ago
Jordi Boggiano ce2a40b259
List identical/compatible removed versions in problem output as if they had not been removed 3 years ago
Yanick Witschi 34183f49f9
Implemented PoolOptimizer 3 years ago
Martin Herndl 3013674c92
Refactor ignore platform reqs checks (#10079)
Introduces a `PlatformRequirementFilter` with methods that help to decide if a requirement is ignored or not as discussed in #10045 but without changing behaviour.
3 years ago
Jordi Boggiano 44b69ba77f
Upgrade php-cs-fixer to 3.x and fix CS 3 years ago
Jordi Boggiano c65d09dff7
Fix @inheritDoc annotations 3 years ago
Nils Adermann cbc686c16a
Merge pull request #10185 from Seldaek/remove_unknown_rule_type
Remove unknown Rule type
3 years ago
Jordi Boggiano 57e417b53a
Minor cleanup 3 years ago
Jordi Boggiano 75a8677e8a
Remove unknown Rule type 3 years ago
Jordi Boggiano 7e1f4882af
Reorder some code 3 years ago
immeëmosol 50d738eeee
Reaching phpstan level 6 in Composer/DependencyResolver (refs #10159) (#10178) 3 years ago
Jordi Boggiano a6f1e803b1
Use more BasePackage instead of PackageInterface 3 years ago
Jordi Boggiano b209816056
Type annotations 3 years ago
Jordi Boggiano f25398f52c
Fix 3 years ago
Jordi Boggiano e137046558
Type annotations 3 years ago
Jordi Boggiano 260ac0011c
Add constants to describe error codes from Installer::run 3 years ago
Jordi Boggiano d1c8a4d1b4
Lots of typing improvements 3 years ago
Jordi Boggiano 4bcd860b65
Add more type annotations 3 years ago
Jordi Boggiano d3c176ec69
PHPStan Level 5 (#10070)
* Bump PHPStan to level 5

* Update seld/phar-utils to latest

* Add phpstan-setup / phpstan scripts
3 years ago
Jordi Boggiano 3dcc6c1514
Make return value explicit 3 years ago
Jordi Boggiano cfe718fa43
Fix usage of getRequiredPackage, closes #10052 3 years ago
Jordi Boggiano a7efb27338
More php8.1 deprecation fixes, refs #10008 3 years ago
Jordi Boggiano 10ae1d7b08
Fix some PHP 8.1 deprecation warnings, fixes #10008 3 years ago
Jordi Boggiano 4c9e75c6e5
Fix CS 3 years ago
Nils Adermann 1ca6397442
Merge pull request #9765 from Seldaek/always_sync_symlinked_path_pkgs
Always mark symlinked path packages for update even during partial updates to make sure they always reflect the current state on disk
3 years ago
Jordi Boggiano 1f37d1c1d5
Add better error reporting for cases where a package conflicts with a replace and not directly a package, fixes #9834 3 years ago
Jordi Boggiano 0dce0f80f1
Also hint for errors when the root package does not match the constraint 3 years ago
Nils Adermann 21c70c2606
Merge pull request #9902 from Seldaek/cyclic-deps
Detect and output a better hint for cyclic dependencies
3 years ago
Jordi Boggiano cbef7b9172
Detect and output a better hint for dependencies on the root package, fixes #9837 3 years ago
Jordi Boggiano 44e6591573
Improve error reporting for exts overridden by platform config, fixes #9876 3 years ago
Jordi Boggiano 298246dccb
Also condense dev-* versions if there are many, refs #9850 3 years ago