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
Jordi Boggiano
a66a939b76
Merge pull request #8937 from Seldaek/optim-rules
...
Optimize rule creation for alias packages
4 years ago
Jordi Boggiano
1055be7936
Fix unfixing of packages when a replacer gets unfixed before a replacee, refs #8882
4 years ago
Nils Adermann
86e79fcce3
Merge pull request #8938 from Seldaek/drop-dead-code
...
Remove some dead code from RuleSetGenerator
4 years ago
Jordi Boggiano
718021724c
Deduplicate more content in complex problem output
4 years ago
Jordi Boggiano
9bd255d8f1
Remove some dead code from RuleSetGenerator
4 years ago
Jordi Boggiano
5a4709c3d6
Optimize rule creation for alias packages
...
This mainly benefits projects running updates with minimum-stability: dev
4 years ago
Jordi Boggiano
8a7f3a9a09
Avoid rendering problem output for dev-master aliases which is useless
4 years ago
Jordi Boggiano
5e5f9f8142
Remove unused RULE_INTERNAL_ALLOW_UPDATE
4 years ago
Jordi Boggiano
c8efb50d39
Change the single requirement ignore from --ignore-platform-reqs=xx to --ignore-platform-req=xx to avoid BC issues
4 years ago
Jordi Boggiano
2ddf4346ef
Improve error reporting for RULE_PACKAGE_ALIAS
4 years ago
Jordi Boggiano
0ea9eafcaf
Add rules for aliased packages when an alias is added, fixes #8902
4 years ago
Jordi Boggiano
c0f5c13516
RuleSetGenerator instance does not need to be kept around anymore
4 years ago
Jordi Boggiano
e85da00dff
Add a way to ignore only some packages in --ignore-platform-reqs, and make the platform check ignore those packages which were ignored as requirements, fixes #8861
4 years ago
Jérémy Derussé
95e6e16b78
Use Semver compiled constraints
4 years ago
Jordi Boggiano
c7fb15faf4
Update to MatchAllConstraint
4 years ago
Jordi Boggiano
af6444353f
Refactor hint generation and whitespace handling in SolverProblemsException
4 years ago
Jordi Boggiano
98e5f81a5f
Fix detection of fixed package problems to include more cases, fixes #8910
4 years ago
Nils Adermann
ff0717ad66
Merge pull request #8859 from Seldaek/deduplicate-problems
...
Deduplicate require/conflict rules which are the same but for different versions of the same package
4 years ago
Markus Staab
11930001fb
Added phpdoc types for PoolBuilder ( #8862 )
4 years ago
Jordi Boggiano
3a64acb53e
Make sure versions are ordered also in the satisfied by package lists
4 years ago
Jordi Boggiano
56a11b9c2c
Deduplicate require/conflict rules which are the same but for different versions of the same package, fixes #8851
4 years ago
Jordi Boggiano
81bf47ffa2
Use fully qualified calls in hot classes
4 years ago
Nils Adermann
56edd53046
Remove unnecessary implementation of interface method in abstract class
4 years ago
Nils Adermann
994a5b41c2
Provide default impl for abstract method in interface for PHP < 5.3.9 ( #8837 )
4 years ago
Jordi Boggiano
1d4185b844
Recommend ocramius/package-versions fork if needed to solve dependencies
4 years ago
Jordi Boggiano
34801239f1
Tweak problem wording slightly
4 years ago
Jordi Boggiano
0ab48a1773
Add composer-runtime-api platform package
4 years ago
Jordi Boggiano
af18c2bd7d
Update semver, fix poolbuilder usage and optimize creation of filtering nameConstraints
4 years ago
Jordi Boggiano
ba9d4793bc
Fix transaction order
4 years ago
Jordi Boggiano
3f338ee8d9
Make sure versions are sorted before they get trimmed in error output
4 years ago
Jordi Boggiano
80a7c40c76
Shorten long lists of similar versions in problem output, fixes #8743
4 years ago
Jordi Boggiano
b6bad4eef6
Add options to configure repository priorities
4 years ago
Jordi Boggiano
8930f1b824
Add color to lock operations and dry run output
4 years ago
Jordi Boggiano
2e64e8dc2e
Avoid generating duplicate aliases in lock file if several aliased packages are installed
4 years ago
Jordi Boggiano
64f907f93f
Fix handling of aliases to use consistent format everywhere
4 years ago
Jordi Boggiano
a695f686c3
Add some docblocks and make sure RepositorySet/PoolBuilder accept regular rootAliases and not pre-normalized ones
4 years ago
Markus Staab
c30925e68d
extracted `VersionParser::DEV_MASTER_ALIAS` ( #8742 )
4 years ago
Jordi Boggiano
b166ef4b58
Fix more phpstan errors
4 years ago
Jordi Boggiano
80505e745e
Fix phpstan issues
4 years ago
Adam Žurek
25cd2382cb
Raise phpstan level to 1 ( #8027 )
4 years ago
Jordi Boggiano
3e19e3b0f1
Show alias of version in package lists in problems
4 years ago
Jordi Boggiano
e09dd9c10d
Detect packages which are only available in lock file and warn appropriately
4 years ago
Jordi Boggiano
8945936dbd
Deduplicate solver problems which list problems for dev-master AND 9999999-dev
4 years ago
Nils Adermann
415b36a1a1
Remove match types from Pool as these are no longer used
4 years ago
Nils Adermann
80a5fdf398
Remove obsolete rules and their generation
...
The only automatic conflict we have results from packages using the same name
either by literally having the same name and being different versions or they
replace the same name, so
- removed all types of obsolete rules
- simplified rule generation significantly
- got rid of provide filtering in the pool
- fixed some language in error handling
4 years ago
Nils Adermann
4e3d989978
A package providing a name should not conflict with a package replacing it
...
Simplified whatProvides, mustMatchName is unused, removed unused
function from policy
4 years ago
Jordi Boggiano
2b86df4003
Add a hint about being on v2 when things go wrong
4 years ago
Nils Adermann
4fab2c7759
Error wording use "thus cannot" instead of "can thus not"
4 years ago