1
0
Fork 0
Commit Graph

11269 Commits (0a4c0778abdd014d9f4c7e18e0c2fb6605782270)

Author SHA1 Message Date
Jordi Boggiano 0a4c0778ab
Propagate decoration state to repo warnings, fixes #10601 2022-03-09 21:00:00 +01:00
Jordi Boggiano 0f688b1dd2
Update deps 2022-02-25 20:54:15 +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
Jordi Boggiano 039980a45d
Update changelog 2022-02-25 10:55:04 +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 7ee44e6461
Merge pull request #10541 from Seldaek/init_req_fixes
Fix issues in require/init when dealing with virtual packages which do not exist
2022-02-16 16:00:57 +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
Jordi Boggiano acea849c51
Clarify plugin docs slightly wrt pre-operations-exec event 2022-02-16 14:58:24 +01:00
Jordi Boggiano 4376153912
Improve untrusted package install docs 2022-02-16 14:50:38 +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
Jordi Boggiano a3e6af54f9
Allow xdebug-handler 3.x, fixes #10528 2022-02-16 10:43:40 +01:00
Stephan 3eb12efae5
VcsRepositories: handle initialize with invalid repository URL (#10525) 2022-02-16 09:37:36 +01:00
Jordi Boggiano 6698317342
Make tests more robust 2022-02-15 16:42:50 +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
Jordi Boggiano 3cb44bc4c0
Fix build with latest setup-php 2022-02-08 14:54:46 +01:00
Markus Staab eefb4644b0
InstallerInterface: describe `getInstallPath()` to return a absolute path (#10524) 2022-02-08 14:24:59 +01:00
Fran Moreno 00bac7470e
Remove duplicated keys (#10517) 2022-02-06 16:55:58 +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 809b372997
Update changelog for 2.2.6 2022-02-04 17:00:30 +01:00
Jordi Boggiano 4f2e2ec4fc
Update docs for renamed COMPOSER_RUNTIME_BIN_DIR 2022-02-04 16:59:57 +01:00
Jordi Boggiano 335c3c9450
Update baseline 2022-02-04 16:25:16 +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 6c36920453
Bump semver 2022-02-04 15:22:38 +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
Florian Engelhardt 3d82719b70
Fix package search not urlencoding the input (#10500) 2022-02-04 10:23:10 +01:00
Jordi Boggiano e7c04e3e12
Improve error reporting when a tag was recreated or a commit is missing, fixes #10484 2022-02-04 10:17:49 +01:00
Jordi Boggiano 7c2954d349
Minor BC Break! Rename COMPOSER_BIN_DIR available inside binaries to COMPOSER_RUNTIME_BIN_DIR (#10512)
This was available to non-PHP binaries as env var since Composer 2.2.2, and the rename is needed to fix a regression due to a name clash. 

Fixes #10504
2022-02-04 09:23:00 +01:00
Jordi Boggiano 62d5f4f295
Fix phpstan errors 2022-02-02 22:18:00 +01:00
Markus Staab 6be6ce7d9f
update composer/pcre to 1.0.1 (#10496) 2022-02-02 21:35:37 +01:00
Jordi Boggiano db8ea45295
Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498 2022-02-02 17:48:45 +01:00
Jordi Boggiano 2da8d886cc
Make code a bit more robust 2022-02-02 17:24:50 +01:00
Jordi Boggiano 45bbe43aac
Fix case where symlink:true still can downgrade to a copy on windows, refs #10482 2022-02-02 16:59:58 +01:00
Jordi Boggiano 7591ef0084
Attempt fixing usage of InstalledVersions in tests 2022-02-02 16:08:40 +01:00
Jordi Boggiano 4ce11ab4ab
Support escaping on newer symfony/console versions, fixes #10499 2022-02-02 15:01:55 +01:00
Jordi Boggiano e8a1e25e9d
Reverting release version changes 2022-01-21 17:27:55 +01:00
Jordi Boggiano 32435a0a60
Release 2.2.5 2022-01-21 17:27:55 +01:00