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
df99150db6
Pin versions to avoid new dependencies breaking tests
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
Jordi Boggiano
8bf0ddf905
Clean up ZipDownloader, always do async first if possible then fallback to non-async
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
3e33cc1d93
Add new dep to the tests
4 years ago
Jordi Boggiano
44bb82b50f
Make full functional test output more reliable
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
7c910e6bfa
Revert autoload order fix, force bundled dependencies to be used over local dependencies, fixes #9721 , fixes #9717
4 years ago
Jordi Boggiano
03e8cacd12
Merge pull request #9696 from Seldaek/fix_installed_versions_during_update
...
Fix installed versions usage issues when using it in plugins during a Composer update process
4 years ago
Jordi Boggiano
22e79684ee
Fix unzip missing support for testsuite
4 years ago
Jordi Boggiano
d91fe67a80
Remove default branch alias from versions which are numeric, fixes #9705
4 years ago
Jordi Boggiano
f7e8f7625f
Remove plugin installer hackery
4 years ago
Jordi Boggiano
7267533690
Add one more InstalledVersions test for upgrades showing a known issue with plugin upgrades
4 years ago
Jordi Boggiano
27d0c5c3ef
Add test deficiencies in installed versions as the runtime autoloaders are not prepended and do not grant access to the latest data
4 years ago
Jordi Boggiano
d3ba447b79
Full functional test-bed improvements
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
Jordi Boggiano
ff74d0e686
Fix lock file generation with dev-master aliases to be compatible with Composer 1, fixes #9337
4 years ago
Nils Adermann
7bc2112f2b
InstallerTest: Add a test for partial updates
...
Needs to take constraints of locked packages into account
4 years ago
Jordi Boggiano
447416a357
Fix typo
4 years ago
Jordi Boggiano
492bece6e2
Merge pull request #9317 from naderman/test-provider-satisfy-self
...
Test: Verify require for package provided or replaced by pkg itself is used
4 years ago