1
0
Fork 0
composer/phpstan
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
..
baseline-8.1.neon Update baseline 2024-04-03 11:02:06 +02:00
baseline.neon Refactor proxy handling to require https_proxy (#11915) 2024-04-17 14:34:26 +02:00
config.neon Fix PHPStan after running autoloader tests (#11558) 2023-07-21 14:34:59 +02:00
ignore-by-php-version.neon.php Better ignore-by-php-version.neon.php 2022-02-24 13:24:37 +01:00
rules.neon Add RuleReasonDataReturnTypeExtension to resolve ReasonData types where possible in PHPStan 2022-08-17 14:59:24 +02:00