1
0
Fork 0
Commit Graph

12506 Commits (8c5f2dbb97c84a404e228159d3faef6b8293e6ee)

Author SHA1 Message Date
Jordi Boggiano 37d722e73c
PHPStan/tests updates (#11996)
* Remove a bunch of inline ignores and migrate all PHPUnit assertions to static calls

* Update baseline (1573, 93)

* Update commit hash
2024-05-29 23:12:06 +02:00
Jordi Boggiano dd8af946fd
Fix tests 2024-05-29 22:08:42 +02:00
Jordi Boggiano de5f7e3241
Fix handling of zip bombs when unzipping archives 2024-05-29 15:52:07 +02:00
Jordi Boggiano 3773f77527
Fix perforce arg not being escaped correctly 2024-05-29 15:03:59 +02:00
Jordi Boggiano 3c37a67c0c
Fix Filesystem::isLocalPath including windows checks on linux 2024-05-29 13:42:19 +02:00
Stephan f38df849c2
BlockedIPs: reject job like other exceptions (#11992) 2024-05-29 13:00:27 +02:00
Jordi Boggiano f83b6b1026
Enable new phpstan option 2024-05-27 17:11:31 +02:00
Jordi Boggiano 09e616fa1d
Update phpstan 2024-05-27 15:14:10 +02:00
Krzysztof Ciszewski 81b121bbdf
Fix composer error when git config safe.bareRepository is set to explicit (#11969) 2024-05-27 14:56:27 +02:00
Jordi Boggiano 818e3fc64b
Update deps 2024-05-24 12:59:34 +02:00
Ondřej Mirtes 5bb30ca170
Update PHPStan (#11976)
* Update PHPStan

* Update inline ignores to `@phpstan-ignore` with error identifier
2024-05-22 09:09:04 +02:00
Sam B d4b071bd1e
To enable to the TransportException code to be accessed in PHP < 8.1, make reflection property accessible (#11974) 2024-05-21 22:45:37 +02:00
John Stevenson 8d90eb694a
Add uopz warning from installer code (#11988) 2024-05-21 22:42:10 +02:00
Dan Wallis ede152bd65
Close style tags to avoid bleed (#11972) 2024-05-12 22:55:40 +02:00
Yanick Witschi 829e0e767f
Re-use precalculated information (#11968)
Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
2024-05-08 14:27:20 +02:00
Jordi Boggiano 8254811c07
Update deps 2024-05-08 11:29:30 +02:00
Krzysztof Ciszewski 4d7476ca30
composer#11852 fix: ability to remove autoload* keys (#11967) 2024-05-08 11:19:05 +02:00
Jordi Boggiano 2fe3244ddb
Reverting release version changes 2024-05-04 23:03:15 +02:00
Jordi Boggiano fabd995783
Release 2.7.6 2024-05-04 23:03:15 +02:00
Jordi Boggiano 7b5ee82240
Update changelog 2024-05-04 23:03:05 +02:00
Jordi Boggiano c2fd4d3ebb
Fix private autoloader callbacks breaking the new runtime autoloader handling code 2024-05-04 23:01:17 +02:00
Jordi Boggiano f81e84164e
Reverting release version changes 2024-05-03 16:23:40 +02:00
Jordi Boggiano 29ac9cce40
Release 2.7.5 2024-05-03 16:23:40 +02:00
Jordi Boggiano 6cb3070203
Update changelog 2024-05-03 16:20:07 +02:00
Jordi Boggiano 762f2a37f5
Tweak exit code for network errors to be 100, refs #11954 2024-05-02 16:49:44 +02:00
Jordi Boggiano acf398281c
Fix transport exception not always using 255 exit code, fixes #11954 2024-05-02 16:09:13 +02:00
Jordi Boggiano bcab1c4b8e
Fix Composer autoloader being hijackable by script/plugin event handlers (#11955) 2024-04-29 11:41:33 +02:00
Jordi Boggiano d4396a85bf
Fix binary proxies having an absolute path to vendor dir when project dir is a symlink, fixes #11947 2024-04-29 11:32:47 +02:00
Jordi Boggiano 80631d2fc8
Fix one more case of unsetting a key in an object 2024-04-29 11:19:52 +02:00
Jordi Boggiano 877f1b150f
Add new uninstall alias to docs 2024-04-29 11:03:27 +02:00
Buster Neece 7c66169b7d
Add "uninstall" as alias to "remove". (#11951) 2024-04-29 11:03:03 +02:00
Jordi Boggiano 232f4e7a5c
Fix config command issue handling objects in some conditions, fixes #11945 2024-04-29 10:59:35 +02:00
maximilian-walter ea28853305
Don't show root warning for Podman containers (#11946) 2024-04-28 17:34:36 +02:00
James Titcumb 6778f1f79a
Updated array shape of php-ext options (#11950) 2024-04-28 17:28:11 +02:00
Jordi Boggiano b64e38eb86
Fix phpstan reports 2024-04-28 17:10:36 +02:00
Jordi Boggiano a7c6125ee4
Workaround curl bug in 8.7.0/8.7.1, fixes #11913 2024-04-28 17:09:38 +02:00
Jordi Boggiano 0d5549f503
Reverting release version changes 2024-04-22 21:17:04 +02:00
Jordi Boggiano a625e50598
Release 2.7.4 2024-04-22 21:17:03 +02:00
Jordi Boggiano 68b1a1254a
Update changelog 2024-04-22 21:16:48 +02:00
Barry vd. Heuvel b0d98b9301
Load ProxyManager before running command to fix autoload order (#11943) 2024-04-22 21:12:57 +02:00
Jordi Boggiano 9f84f0c32b
Reverting release version changes 2024-04-19 21:40:58 +02:00
Jordi Boggiano e49be96f3b
Release 2.7.3 2024-04-19 21:40:57 +02:00
Jordi Boggiano 1dd63ba7ac
Update changelog 2024-04-19 21:34:40 +02:00
Jordi Boggiano 69dc828ba7
Ensure type must be provided in init command 2024-04-19 17:27:50 +02:00
Jordi Boggiano 3238d7de40
Upgrade phpstan-strict-rules 2024-04-19 17:27:50 +02:00
John Stevenson 70927f728e
Add FAQ about using a proxy (#11933) 2024-04-19 17:27:54 +02:00
Jordi Boggiano b0ec0f96ad
Update phpstan deps and fix a few array_filter issues 2024-04-19 17:00:50 +02:00
Jordi Boggiano 3604996464
Ensure diagnose command works even if provider-includes disappears 2024-04-19 14:20:56 +02:00
John Stevenson 41fb6146b0
Improve proxy reporting in Diagnose command (#11932) 2024-04-19 14:18:55 +02:00
John Stevenson 3cc490d4c4
Refactor proxy handling to require https_proxy (#11915)
Composer has always allowed a single http_proxy (or CGI_HTTP_PROXY)
environment variable to be used for both HTTP and HTTPS requests. But
many other tools and libraries require scheme-specific values.

The landscape is already complicated by the use of and need for upper
and lower case values, so to bring matters inline with current practice
https_proxy is now required for HTTPS requests.

The new proxy handler incorporates a transition mechanism, which allows
http_proxy to be used for all requests when https_proxy is not set and
provides a `needsTransitionWarning` method for the main application.

Moving to scheme-specific environment variables means that a user may
set a single proxy for either HTTP or HTTPS requests. To accomodate this
situation during the transition period, an https_proxy value can be set
to an empty string which will prevent http_proxy being used for HTTPS
requests.
2024-04-17 14:34:26 +02:00