mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
This commit is contained in:
parent
edece864e7
commit
6da92e98ac
3 changed files with 6 additions and 4 deletions
|
@ -22,6 +22,7 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
|
|||
unset($_SERVER['http_proxy']);
|
||||
unset($_SERVER['HTTPS_PROXY']);
|
||||
unset($_SERVER['https_proxy']);
|
||||
unset($_SERVER['NO_PROXY']);
|
||||
unset($_SERVER['no_proxy']);
|
||||
}
|
||||
|
||||
|
@ -31,6 +32,7 @@ class StreamContextFactoryTest extends \PHPUnit_Framework_TestCase
|
|||
unset($_SERVER['http_proxy']);
|
||||
unset($_SERVER['HTTPS_PROXY']);
|
||||
unset($_SERVER['https_proxy']);
|
||||
unset($_SERVER['NO_PROXY']);
|
||||
unset($_SERVER['no_proxy']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue