Jordi Boggiano
4e8f3e85e2
Improve error reporting for repo priorities, refs #10339
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
Shalvah
7a3d2b8157
Better hint for missing extensions ( #10283 )
3 years ago
Nils Adermann
b9d7d27c82
Fix tests after grammar fix for php.ini error message
3 years ago
Jordi Boggiano
a6fc1ab663
Fix feedback
3 years ago
Jordi Boggiano
d0c1e6cb05
Add InstallerTest for path repo symlink unfixing
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
032db5bc01
Fix tests
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
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
7eca450d9b
Add wildcard support to ignore-platform-req, fixes #10045 ( #10083 )
3 years ago
Jordi Boggiano
b09a39f9c8
Error out on recursive links in validating loader and ignore them in regular loader
3 years ago
Jordi Boggiano
260ac0011c
Add constants to describe error codes from Installer::run
3 years ago
Jordi Boggiano
d99b200cf3
Fix tests
3 years ago
Jordi Boggiano
f85e2136fd
Merge branch '1.10'
3 years ago
powellblyth
5e75017166
Just some comments with 'it's' that should have been 'its' ( #10071 )
...
Co-authored-by: Toby Powell-Blyth <tobypowell-blyth@elasticstage.com>
3 years ago
Jordi Boggiano
b77fce8a4f
More deprecation fixes by using ProcessExecutorMock and a couple of PackageInterface type fixes
3 years ago
Jordi Boggiano
a02802b109
Warn 1.x users when a package is not found that it may be due to our deprecation policy
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
f0e178c318
Merge branch '2.0'
3 years ago
Jordi Boggiano
17f6363ea9
Fix tests
3 years ago
Jordi Boggiano
9b7a8d4543
Hint at a branch rename if we detect dev-master can not be found but dev-main or dev-default exists, fixes #9850
3 years ago
Jordi Boggiano
e6cede4a61
Make sure update mirrors/--lock keeps the release date of the original reference when dev versions have newer commits, refs #9812
4 years ago
Jordi Boggiano
0ab4013788
Fix output listing some updates that do not really happen when updating mirrors/--lock, fixes #9812
4 years ago
Jordi Boggiano
f10ae542ff
Always mark symlinked path packages for update even during partial updates to make sure they always reflect the current state on disk, fixes #9751
4 years ago
Jordi Boggiano
ab84916422
Fix unclear error when a package can be found in lock but not in the remote repo, fixes #9750
4 years ago
Jordi Boggiano
d91fe67a80
Remove default branch alias from versions which are numeric, fixes #9705
4 years ago
Arnaud Vanwambeke
7402ef33fc
Dont recommend to use with all dependencies option when it is already used
4 years ago
Jordi Boggiano
7f3a56f39b
Merge pull request #9360 from naderman/pool-builder-unlock-consider-all-constraints
...
PoolBuilder: Ensure versions matching locked constraints get loaded
4 years ago
Nils Adermann
db0656eab0
Duplicate partial update unlock but keep old version test with provide keyword
4 years ago
Jordi Boggiano
d00edab884
Merge pull request #9477 from naderman/fix-alias-conflicts
...
Explicit conflicts should conflict with aliases of packages too
4 years ago
Jordi Boggiano
e203809106
Fix test description
4 years ago
Nils Adermann
7197278fe9
Always install aliases together with their original package
...
Restores some Composer 1.x behavior like unbound constraints conflicting
with default branches unless they are branch aliased.
Simplifies conflicts with aliases because packages cannot be installed
without their aliases, so we do not need to know which aliases are
uninstalled in lock file or installed.json.
4 years ago
Jordi Boggiano
e857a8216c
Make sure mirror update fails if no lock file is present
4 years ago
Jordi Boggiano
2d025dce05
Make sure mirror updates do not fail if there are dev requirements and new requires are present, fixes #9514
4 years ago
Nils Adermann
58f358d028
Correct test case descriptions
4 years ago
Nils Adermann
1b337be236
Add expected lock files to conflict with branch alias tests, add install from lock test
4 years ago
Nils Adermann
c02d2842b0
Test conflict with an unrequired alias does not prevent install.
...
The alias still ends up being marked as installed as the install step
reads it from the branch alias in the lock file and doesn't know a
conflict required it to be skipped.
4 years ago
Nils Adermann
045b5c6b6b
Add test case verifying conflicts on alias prevent it from getting installed
4 years ago
Nils Adermann
6b48258432
Add test case for root alias on an unloadable package
4 years ago
Jordi Boggiano
7b183956d8
Make sure the root aliases always get installed when a package is updated, fixes #9448
4 years ago
Jordi Boggiano
b8e40f6060
Fix tests
4 years ago