Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow simple-phpunit to be used with an HTTP proxy #20862
The title pretty much sums it up. I had to use the script behind a proxy and it did not work well so here is a little fix to take the
I don't think there needs to be a doc PR associated since this feature should be transparent for the end-user.
Is there a https_proxy environment variable also or not?
composer has a bunch of code to properly deal with proxies, see:
Since we don't want to put that much logic here, I propose to simply use
This could then go as bug fix on 3.2 IMHO.
In the Symfony Installer we also used a simplified proxy detection based on the Composer one. It seems to be working OK: https://github.com/symfony/symfony-installer/blob/master/src/Symfony/Installer/DownloadCommand.php#L243