Tom Klingenberg
939c998baf
validate lock-file if configured ( #10715 , --check-lock)
...
if no lock-file is configured, turn lock file validation errors into
warnings (implicit --no-check-lock) unless those are explicitly promoted
via the new --check-lock option.
- `{"config": {"lock": false}}` is an implicit `--no-check-lock` for
composer validate.
- `--check-lock` overrides an (implicit or explicit) `--no-check-lock`,
always.
issue: #10715
2022-04-12 22:30:41 +02:00
Jordi Boggiano
9bfd059420
Fix curl downloader to retry in case of DNS resolution failure, fixes #10716
2022-04-07 15:56:23 +02:00
Jordi Boggiano
96f087a273
Remove unnecessary realpath which can fail, closes #10694
2022-04-02 12:45:27 +02:00
Jordi Boggiano
95e09d3a81
Reverting release version changes
2022-04-01 22:00:53 +02:00
Jordi Boggiano
2f5bcf0480
Release 2.2.11
2022-04-01 22:00:52 +02:00
Jordi Boggiano
38efb57ba2
Fix type issues
2022-04-01 21:56:52 +02:00
Jordi Boggiano
956d44c339
Add --2.2 flag to self-update for 2.2 LTS as well as EOL marker support
2022-04-01 21:53:41 +02:00
Jordi Boggiano
ecec0d00fc
Fix generation of autoload rules in a dir that is missing to ensure it does not break ( #10688 )
2022-04-01 21:20:21 +02:00
Jordi Boggiano
2b99d069b2
Remove dev-master=>dev-main alias from #10372 as it does not work/is missing when reloading from lock file and extracting dev deps, refs #10651
2022-03-31 14:42:08 +02:00
Jordi Boggiano
9c2793382b
Reverting release version changes
2022-03-29 21:55:36 +02:00
Jordi Boggiano
18f748df69
Release 2.2.10
2022-03-29 21:55:36 +02:00
Jordi Boggiano
30671fb904
Add warning when using 7z <21.01 on linux/osx, fixes #10535
2022-03-29 20:37:38 +02:00
Jordi Boggiano
2dbe66ad20
Fix deletion of corrupt 0-bytes zip archives from the cache, fixes #10580 ( #10666 )
2022-03-29 18:57:30 +02:00
Stephan
eb0aaa7472
Bitbucket: handle missing authentication response from API returning 404 status code ( #10657 )
2022-03-29 12:44:25 +02:00
Jordi Boggiano
78bdd8127b
Reverting release version changes
2022-03-15 22:13:38 +01:00
Jordi Boggiano
07eccf080a
Release 2.2.9
2022-03-15 22:13:37 +01:00
Jordi Boggiano
6b97524b25
Load plugins which modify install path early, fixes #10618 ( #10621 )
2022-03-15 22:11:19 +01:00
Jordi Boggiano
7bee425b58
Reverting release version changes
2022-03-15 12:55:21 +01:00
Jordi Boggiano
26a587345d
Release 2.2.8
2022-03-15 12:55:20 +01:00
Jordi Boggiano
2d7f1569f3
Allow using self.version with require command, fixes #10593
2022-03-15 12:26:32 +01:00
Jordi Boggiano
f31700bf19
Sort packages with the same weight alphabetically to have a completely stable sort not dependent on input order, fixes #10614
2022-03-15 11:35:33 +01:00
Jordi Boggiano
d67953266f
Do not read require-dev except for the root package when sorting packages
2022-03-15 11:03:53 +01:00
Jordi Boggiano
890b8fad3d
Ignore phpstan issue
2022-03-15 10:01:23 +01:00
Jordi Boggiano
5b7ea9580e
Update composer/semver to latest
2022-03-15 09:43:22 +01:00
Yanick Witschi
ced24da7b0
Fix PoolOptimizer should consider disjunctive MultiConstraints ( #10579 )
2022-03-12 14:16:38 +01:00
Jordi Boggiano
0a4c0778ab
Propagate decoration state to repo warnings, fixes #10601
2022-03-09 21:00:00 +01:00
Martin Herndl
9715580bc0
Add file agument to archive help ( #10574 )
2022-02-25 20:47:19 +01:00
Jordi Boggiano
fa9a877246
Reverting release version changes
2022-02-25 11:12:28 +01:00
Jordi Boggiano
061d154dfd
Release 2.2.7
2022-02-25 11:12:27 +01:00
Yanick Witschi
8179d1ea33
Early return when a package was already marked to be kept
2022-02-25 10:43:24 +01:00
Jordi Boggiano
2a2440c2a1
Fix handling of virtual packages when searching for packages or when looking up the preferred version (init & require command), refs #10489
2022-02-16 15:44:43 +01:00
Jordi Boggiano
8b5254688c
Drop early package name validation if a version is provided to require/init command, fixes #10489
2022-02-16 15:13:21 +01:00
sasezaki
0c4cefaaa1
Introduce phpstan-type about autoload array type to be DRY ( #10516 )
2022-02-16 14:34:10 +01:00
Jordi Boggiano
53810b0cfb
Fix return type
2022-02-16 13:30:54 +01:00
Jordi Boggiano
28ec4fa7b0
Fix handling of invalid emails
2022-02-16 13:24:15 +01:00
Jordi Boggiano
f1ebc1d2b6
Fix init author support to make email optional, fixes #10538
2022-02-16 13:08:54 +01:00
Jordi Boggiano
6ea5b84bd9
Fix licenses command summary to count all licenses of a package
2022-02-16 12:26:49 +01:00
Marko H. Tamminen
8756f54da0
Handle missing license when showing license summary ( #10537 )
...
Fixes the issue of license summary command aborting when a package is
missing license information.
2022-02-16 12:17:49 +01:00
Stephan
3eb12efae5
VcsRepositories: handle initialize with invalid repository URL ( #10525 )
2022-02-16 09:37:36 +01:00
Jordi Boggiano
f808e4907c
Fix handling for non-lowercased enum keyword, fixes #10521
2022-02-15 16:41:06 +01:00
Jordi Boggiano
eee8816bc3
Fix allow-plugins:false handling, fixes #10530
2022-02-15 16:14:06 +01:00
Stephan
23b0a3819b
ComposerRepository: fix array_keys(): Argument #1 () must be of type array, null given ( #10529 )
2022-02-09 11:45:10 +01:00
Markus Staab
eefb4644b0
InstallerInterface: describe `getInstallPath()` to return a absolute path ( #10524 )
2022-02-08 14:24:59 +01:00
Jordi Boggiano
2c318ff09b
Reverting release version changes
2022-02-04 17:00:39 +01:00
Jordi Boggiano
ce785a18c0
Release 2.2.6
2022-02-04 17:00:38 +01:00
Jordi Boggiano
d124c13a42
Add hints when the arg of show is not found, fixes #10493
2022-02-04 16:17:02 +01:00
Jordi Boggiano
ee36c5e54a
Fix error reporting issues when partial updates cannot update due to a symlinked path repo package, fixes #10451
2022-02-04 15:58:50 +01:00
Jordi Boggiano
8053d794a8
Fix reinstall command not firing pre-install-cmd/post-install-cmd events, fixes #10508 ( #10514 )
2022-02-04 14:08:07 +01:00
Jordi Boggiano
88171e409d
Remove superfluous arg
2022-02-04 13:04:02 +01:00
Jordi Boggiano
39cb505d69
Fix phpstan warnings
2022-02-04 13:01:48 +01:00