Jordi Boggiano
88171e409d
Remove superfluous arg
3 years ago
Jordi Boggiano
39cb505d69
Fix phpstan warnings
3 years ago
Florian Engelhardt
3d82719b70
Fix package search not urlencoding the input ( #10500 )
3 years ago
Jordi Boggiano
e7c04e3e12
Improve error reporting when a tag was recreated or a commit is missing, fixes #10484
3 years ago
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
3 years ago
Maximilian Bösing
1704466b74
Add abandoned flag to show/outdated commands package lists ( #10485 )
...
To synchronize `abandoned` information with JSON APIs and the `composer.json` information of a package, we should return the following types: `bool|non-empty-string`.
This will either state if a package is abandoned and, if there is a replacement declared, what replacement package should be used instead.
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
3 years ago
Jordi Boggiano
62d5f4f295
Fix phpstan errors
3 years ago
Markus Staab
6be6ce7d9f
update composer/pcre to 1.0.1 ( #10496 )
3 years ago
Jordi Boggiano
db8ea45295
Fix enum parsing when the syntax is "enum foo:string {}" without space between name and type, fixes #10498
3 years ago
Jordi Boggiano
2da8d886cc
Make code a bit more robust
3 years ago
Jordi Boggiano
45bbe43aac
Fix case where symlink:true still can downgrade to a copy on windows, refs #10482
3 years ago
Jordi Boggiano
7591ef0084
Attempt fixing usage of InstalledVersions in tests
3 years ago
Jordi Boggiano
4ce11ab4ab
Support escaping on newer symfony/console versions, fixes #10499
3 years ago
Houssem Zitoun
3ae111140f
Improve documentation ( #10477 )
...
Co-authored-by: Houssem ZITOUN <houssem.zitoun@ekino.com>
3 years ago
Jordi Boggiano
7f1808501a
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
e8a1e25e9d
Reverting release version changes
3 years ago
Jordi Boggiano
32435a0a60
Release 2.2.5
3 years ago
Jordi Boggiano
dc81200e1c
Update deps
3 years ago
Jordi Boggiano
ac5ae4ee34
Update changelog
3 years ago
Jordi Boggiano
8c0b4ff16b
Also retry for HTTP2 stream errors, fixes #10462
3 years ago
Jordi Boggiano
bf1ad4d240
Make sure test runs in isolated dir
3 years ago
Jordi Boggiano
31429ce099
Update baselines
3 years ago
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
3 years ago
Stephan
3b4afaa9e3
ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized ( #10470 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
3 years ago
David Buchmann
6b8f1409e4
report error if binary is a directory ( #10463 )
...
file_exists is true also for directory and symlink. but later in generateUnixyProxyCode we call `file_get_contents` on the binary, which fails with `file_get_contents(): read of 8192 bytes failed with errno=21 Is a directory` if the binary is a directory.
3 years ago
Jordi Boggiano
af6013093f
Ignore phar files in artifact repo, fixes #10406
3 years ago
John Stevenson
0228e5b47d
Clean up properly if self-update fails ( #10475 )
3 years ago
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
3 years ago
Jordi Boggiano
e103ee0249
Remove getenv workaround on fixed PHP versions
3 years ago
Ondřej Mirtes
a943aacd10
Update to PHPStan 1.4.1 ( #10466 )
3 years ago
John Stevenson
db64534b26
Fixed bin proxies on PHP < 8 to support stream_seek ( #10468 )
3 years ago
Nicolas Grekas
6a70161c01
Disable "composer/package-versions-deprecated" by default ( #10458 )
3 years ago
Ondřej Mirtes
cd34886e9d
Update to PHPStan 1.4 ( #10459 )
3 years ago
James Watts
96332161fe
Fix simple typo and slightly reword phrase. ( #10456 )
3 years ago
Simon Podlipsky
4a4571897f
Allow psr/log ^3.0 ( #10454 )
...
Same as in https://github.com/composer/composer/pull/10158
3 years ago
Jordi Boggiano
6de9cacfd8
Remove unnecessary sprintf
3 years ago
Jonas Drieghe
b9c368a9c3
Use new url for semver testing tool ( #10449 )
...
semver.mwl.be returns a permanent redirect to semver.madewithlove.com
3 years ago
Jordi Boggiano
49541ce3fb
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
d76485af74
Reverting release version changes
3 years ago
Jordi Boggiano
8a5ad75194
Release 2.2.4
3 years ago
Jordi Boggiano
d4688157e1
Update changelog
3 years ago
Dane Powell
93d4c8e531
Fix #10366 : Improve messaging when GitHub tokens need SSO authorization ( #10432 )
3 years ago
Jordi Boggiano
13bd2120e9
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
24b62a1002
Add support for sourcing binaries despite the bin proxy being present, take 2
3 years ago
Jordi Boggiano
e2ba625a93
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
6dea58c9f3
Add support for sourcing binaries despite the bin proxy being present
...
Fixes https://github.com/composer/composer/issues/10389#issuecomment-1007372740
3 years ago
Jordi Boggiano
3d6bf8c98d
Merge branch '2.2' into main
3 years ago
Jordi Boggiano
d9619985db
Workaround PHP bug properly as getenv() without arg also returns mangled values, fixes #10434
3 years ago
Jordi Boggiano
9305dea128
Only run getenv workaround on PHP 7.1.13+
3 years ago
Jordi Boggiano
641ad10a9f
Fix partial update where path repos are being auto-unlocked two levels deep not loading all packages properly, fixes #10431
3 years ago