44 Commits (12d595757ca903954a2444a7c4236e2cc5facc00)

Author SHA1 Message Date
Jordi Boggiano 6a466a120a
Enable strict types on all files 2 years ago
Jordi Boggiano 6da38f83a0
Add parameter types to all the things 2 years ago
Alexander Schranz e9b60580f5
Add return types to tests (#10) 2 years ago
Jordi Boggiano abdc6893a6
Add void types where no return statement is present 2 years ago
Jordi Boggiano 6ed3aeb343
Remove setExpectedException wrapper 3 years ago
Jordi Boggiano ffd62795bc
Get rid of all the ->at() mock invocations 3 years ago
Jordi Boggiano 2a771dfb2d
Update PHPUnit to 8.5 3 years ago
Martin Herndl 2992e8651a
Add types to `Util` tests (#10228) 3 years ago
johnstevenson 2a913c7a68 Improve proxy error messages for streams 4 years ago
johnstevenson d47261eb93 Refactor proxy handling for Composer2 4 years ago
johnstevenson 8feb83b22b
Remove duplicate StreamContextFactory ssl options
Added in Dec 2014 (commit 8dad846), superseded in Jan 2016 (pr #4759)
4 years ago
Simon Berger 80d71ccb3f Merged isset, unset and str_replace calls 4 years ago
Jordi Boggiano 45ecbae8f5
Merge branch 'master' into 2.0 4 years ago
Ion Bazan a2137d5263 use Symfony PHPUnit Bridge 4 years ago
Jordi Boggiano 1cd9f4f9db Disable request_fulluri by default for HTTPS connections 6 years ago
Gabriel Caruso afc9a7643e Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 7 years ago
croensch 6da92e98ac also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
7 years ago
Jordi Boggiano 122e422682 CS fixes 7 years ago
Jordi Boggiano fbab2bfa17 Move user agent definition to StreamContextFactory so it is available in all contexts 9 years ago
Jordi Boggiano ce08582671 Fix CS 9 years ago
Possum 29ca21f30e PHP version checks tweaking 9 years ago
Jordi Boggiano da881c118b Fix failures 10 years ago
Jordi Boggiano 8dad846613 Add SNI settings for SSL URLs that are proxied, fixes #3204 10 years ago
Jordi Boggiano 7b13507dd4 Fix typo in test 10 years ago
Jordi Boggiano 4a6503fe36 Add suppor for https_proxy, fixes #3204 10 years ago
Jordi Boggiano ac497feaba CS fixes 10 years ago
Jordi Boggiano 08243ce2e3 Fix handling of urlencoded user and password in proxy urls, fixes #2339 11 years ago
Nils Adermann 565f86f30d Fix stream context option test to really only verify content-type is last 11 years ago
Jordi Boggiano b4c0b18896 Add tests, refs #2017 11 years ago
Jordi Boggiano 55927f983a Remove author to fix phpunit group detection 11 years ago
Jordi Boggiano 93d37833dc Fix tests 11 years ago
Jordi Boggiano 1debe22412 Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839 11 years ago
Jordi Boggiano 784dd0aad0 Fix tests 11 years ago
Markus Tacker 821f57f443 A bug in PHP prevents the headers from correctly beeing sent when a content-type header is present and
NOT at the end of the array

https://bugs.php.net/bug.php?id=61548

This updates fixes the array by moving the content-type header to the end
11 years ago
Jordi Boggiano 7aab7c6297 Fix StreamContextFactory tests 12 years ago
Jordi Boggiano 072f4397a0 Fix default options handling in StreamContextFactory 12 years ago
Maxim Chernyshev 5294cb222c Precious community feedback-based refactoring 12 years ago
Maxim Chernyshev 37476eb61f Fixed indentation 12 years ago
Maxim Chernyshev 8918551f29 Simplified proxy port determination and passed tests 12 years ago
Maxim Chernyshev 2ca50a1ef3 Merged in upstream 12 years ago
Maxim Chernyshev 419a1cedf0 Proxy credentials are now passed as part of HTTP headers 12 years ago
Danny Berger e7ba0c38a8 Add default http(s) ports to proxy configuration if they are missing. 12 years ago
Jordi Boggiano 45b2165057 Fix tests 12 years ago
Martin Hasoň 492e672b23 Added tests for StreamContextFactory 12 years ago