Jordi Boggiano
31429ce099
Update baselines
2022-01-21 16:11:22 +01:00
Jordi Boggiano
bab974575c
Merge branch '2.2' into main
2022-01-21 16:00:50 +01:00
Stephan
3b4afaa9e3
ArrayLoader/ValidatingArrayLoader: handle non-string values for version/version_normalized ( #10470 )
...
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2022-01-21 14:57:28 +01:00
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.
2022-01-21 14:52:39 +01:00
Jordi Boggiano
af6013093f
Ignore phar files in artifact repo, fixes #10406
2022-01-21 13:22:12 +01:00
John Stevenson
0228e5b47d
Clean up properly if self-update fails ( #10475 )
2022-01-21 12:55:42 +01:00
Jordi Boggiano
e3d99cac59
Fix phpstan issues, update baseline and pin PHPStan version in 2.2 branch ( #10474 )
2022-01-21 12:48:16 +01:00
Jordi Boggiano
e103ee0249
Remove getenv workaround on fixed PHP versions
2022-01-21 11:19:44 +01:00
Ondřej Mirtes
a943aacd10
Update to PHPStan 1.4.1 ( #10466 )
2022-01-21 10:21:09 +01:00
John Stevenson
db64534b26
Fixed bin proxies on PHP < 8 to support stream_seek ( #10468 )
2022-01-21 10:09:58 +01:00
Nicolas Grekas
6a70161c01
Disable "composer/package-versions-deprecated" by default ( #10458 )
2022-01-17 15:28:07 +01:00
Ondřej Mirtes
cd34886e9d
Update to PHPStan 1.4 ( #10459 )
2022-01-17 15:18:33 +01:00
James Watts
96332161fe
Fix simple typo and slightly reword phrase. ( #10456 )
2022-01-13 16:00:10 +01:00
Simon Podlipsky
4a4571897f
Allow psr/log ^3.0 ( #10454 )
...
Same as in https://github.com/composer/composer/pull/10158
2022-01-13 13:01:32 +01:00
Jordi Boggiano
6de9cacfd8
Remove unnecessary sprintf
2022-01-13 11:34:20 +01:00
Jonas Drieghe
b9c368a9c3
Use new url for semver testing tool ( #10449 )
...
semver.mwl.be returns a permanent redirect to semver.madewithlove.com
2022-01-10 20:58:42 +01:00
Jordi Boggiano
49541ce3fb
Merge branch '2.2' into main
2022-01-08 12:31:26 +01:00
Jordi Boggiano
d76485af74
Reverting release version changes
2022-01-08 12:30:43 +01:00
Jordi Boggiano
8a5ad75194
Release 2.2.4
2022-01-08 12:30:42 +01:00
Jordi Boggiano
d4688157e1
Update changelog
2022-01-08 12:30:30 +01:00
Dane Powell
93d4c8e531
Fix #10366 : Improve messaging when GitHub tokens need SSO authorization ( #10432 )
2022-01-08 12:03:54 +01:00
Jordi Boggiano
13bd2120e9
Merge branch '2.2' into main
2022-01-07 15:04:08 +01:00
Jordi Boggiano
24b62a1002
Add support for sourcing binaries despite the bin proxy being present, take 2
2022-01-07 15:04:02 +01:00
Jordi Boggiano
e2ba625a93
Merge branch '2.2' into main
2022-01-07 14:29:59 +01:00
Jordi Boggiano
6dea58c9f3
Add support for sourcing binaries despite the bin proxy being present
...
Fixes https://github.com/composer/composer/issues/10389#issuecomment-1007372740
2022-01-07 14:28:53 +01:00
Jordi Boggiano
3d6bf8c98d
Merge branch '2.2' into main
2022-01-07 13:59:04 +01:00
Jordi Boggiano
d9619985db
Workaround PHP bug properly as getenv() without arg also returns mangled values, fixes #10434
2022-01-07 13:57:17 +01:00
Jordi Boggiano
9305dea128
Only run getenv workaround on PHP 7.1.13+
2022-01-07 13:50:03 +01:00
Jordi Boggiano
641ad10a9f
Fix partial update where path repos are being auto-unlocked two levels deep not loading all packages properly, fixes #10431
2022-01-07 13:46:58 +01:00
Jordi Boggiano
9466e68ac7
Require latest phpstan
2022-01-07 13:00:29 +01:00
Jordi Boggiano
3844e05ac1
Merge branch '2.2' into main
2022-01-07 12:59:48 +01:00
Jordi Boggiano
64d39a9655
Fix phpstan error
2022-01-07 12:46:13 +01:00
Jordi Boggiano
f1568f1f8f
Merge branch '2.2' into main
2022-01-07 09:30:43 +01:00
Jordi Boggiano
0b436de794
Fix last bit phpstan error
2022-01-07 09:29:35 +01:00
Jordi Boggiano
508ac051ec
Revert "Remove getCode usage as it is not type safe apparently, see https://github.com/phpstan/phpstan-src/pull/795 "
...
This reverts commit 84f8fda0c6
.
And other issues fixed by PHPStan 1.3.2
2022-01-07 09:26:37 +01:00
Jordi Boggiano
65c8daa969
Workaround PHP bug with env vars not being read correctly on Windows, fixes #10434
...
refs https://github.com/php/php-src/issues/7896
2022-01-07 09:17:46 +01:00
Stephan
9360e2c18a
GitLab: detect repository functionality disabled in Driver ( #10440 )
2022-01-06 15:06:38 +01:00
Jordi Boggiano
5e4a8a882d
Allow ProcessExecutor to receive commands as arrays, refs #6552 ( #10435 )
2022-01-06 13:56:12 +01:00
Jordi Boggiano
9d6cf5835b
Merge pull request #10416 from Seldaek/update_deps
...
Allow xdebug-handler 3.x, update deps
2022-01-05 16:59:35 +01:00
Jordi Boggiano
5f0a3f49ed
Allow xdebug-handler 3.x, update deps
2022-01-05 16:54:32 +01:00
Jordi Boggiano
7d1aa65239
Merge branch '2.2' into main
2022-01-05 16:52:18 +01:00
Jordi Boggiano
cb41ad1d4b
Ensure process timeouts are checked also for async processes
2022-01-05 16:49:36 +01:00
Jordi Boggiano
3a27cb2e91
Merge branch '2.2' into main
2022-01-05 15:45:18 +01:00
Jordi Boggiano
c2cdc3eb71
Deduplicate code
2022-01-05 15:44:46 +01:00
Jordi Boggiano
b96c419ee5
Merge pull request #10430 from Seldaek/add_links
...
Add links to repo to show/outdated commands package lists
2022-01-05 14:55:33 +01:00
Jordi Boggiano
f7ce907148
Update plugin-api in docs
2022-01-05 14:50:30 +01:00
Jordi Boggiano
ef2b52ee5b
Make the package name bold in plugin activation warnings
2022-01-05 14:43:30 +01:00
Jordi Boggiano
f9d61c0665
Add links to repo to fund/licenses/search commands and add links to docs to config command
2022-01-05 14:39:08 +01:00
Jordi Boggiano
06bb3c9179
Add links to repo to show/outdated commands package lists, fixes #9367
2022-01-04 17:34:27 +01:00
Jordi Boggiano
711f436b24
Use finally to restore error handler after command runs
2022-01-04 16:31:45 +01:00