John Stevenson
|
bb8387e5a0
|
Remove proxy transition fallback (#11938)
|
2024-09-17 16:14:47 +02:00 |
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 |
Ion Bazan
|
8ff237afb6
|
[Tests] Use static data providers (#11197)
|
2022-11-24 14:39:08 +01:00 |
Jordi Boggiano
|
131da999ac
|
Fix CS (#11003)
|
2022-08-17 14:20:07 +02:00 |
Jordi Boggiano
|
6a466a120a
|
Enable strict types on all files
|
2022-02-24 13:24:34 +01:00 |
Jordi Boggiano
|
6da38f83a0
|
Add parameter types to all the things
|
2022-02-22 16:48:53 +01:00 |
Alexander Schranz
|
e9b60580f5
|
Add return types to tests (#10)
|
2022-02-21 13:42:28 +01:00 |
Jordi Boggiano
|
abdc6893a6
|
Add void types where no return statement is present
|
2022-02-18 10:38:54 +01:00 |
Jordi Boggiano
|
6ed3aeb343
|
Remove setExpectedException wrapper
|
2022-01-01 14:54:21 +01:00 |
Jordi Boggiano
|
ffd62795bc
|
Get rid of all the ->at() mock invocations
|
2022-01-01 14:54:20 +01:00 |
Jordi Boggiano
|
2a771dfb2d
|
Update PHPUnit to 8.5
|
2022-01-01 14:54:19 +01:00 |
Martin Herndl
|
2992e8651a
|
Add types to `Util` tests (#10228)
|
2021-10-27 16:18:46 +02:00 |
johnstevenson
|
2a913c7a68
|
Improve proxy error messages for streams
|
2020-10-24 18:20:31 +01:00 |
johnstevenson
|
d47261eb93
|
Refactor proxy handling for Composer2
|
2020-10-23 21:38:29 +01:00 |
johnstevenson
|
8feb83b22b
|
Remove duplicate StreamContextFactory ssl options
Added in Dec 2014 (commit 8dad846 ), superseded in Jan 2016 (pr #4759)
|
2020-10-23 13:25:17 +02:00 |
Simon Berger
|
80d71ccb3f
|
Merged isset, unset and str_replace calls
|
2020-09-26 00:55:19 +02:00 |
Jordi Boggiano
|
45ecbae8f5
|
Merge branch 'master' into 2.0
|
2020-02-07 22:20:51 +01:00 |
Ion Bazan
|
a2137d5263
|
use Symfony PHPUnit Bridge
|
2020-02-07 12:22:22 +08:00 |
Jordi Boggiano
|
1cd9f4f9db
|
Disable request_fulluri by default for HTTPS connections
|
2019-01-14 17:29:23 +01:00 |
Gabriel Caruso
|
afc9a7643e
|
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
|
2017-11-30 13:44:43 -02:00 |
croensch
|
6da92e98ac
|
also support NO_PROXY
since WINDOWS can only have one case and that is usually upperase
|
2017-10-12 16:35:05 +02:00 |
Jordi Boggiano
|
122e422682
|
CS fixes
|
2017-03-08 15:16:44 +01:00 |
Jordi Boggiano
|
fbab2bfa17
|
Move user agent definition to StreamContextFactory so it is available in all contexts
|
2015-11-23 15:12:33 +00:00 |
Jordi Boggiano
|
ce08582671
|
Fix CS
|
2015-09-28 10:53:24 +01:00 |
Possum
|
29ca21f30e
|
PHP version checks tweaking
|
2015-05-05 20:18:24 +02:00 |
Jordi Boggiano
|
da881c118b
|
Fix failures
|
2014-12-12 13:15:34 +00:00 |
Jordi Boggiano
|
8dad846613
|
Add SNI settings for SSL URLs that are proxied, fixes #3204
|
2014-12-12 12:25:21 +00:00 |
Jordi Boggiano
|
7b13507dd4
|
Fix typo in test
|
2014-12-11 21:52:29 +00:00 |
Jordi Boggiano
|
4a6503fe36
|
Add suppor for https_proxy, fixes #3204
|
2014-12-11 17:42:55 +00:00 |
Jordi Boggiano
|
ac497feaba
|
CS fixes
|
2014-06-10 16:13:12 +02:00 |
Jordi Boggiano
|
08243ce2e3
|
Fix handling of urlencoded user and password in proxy urls, fixes #2339
|
2013-10-18 11:35:57 +02:00 |
Nils Adermann
|
565f86f30d
|
Fix stream context option test to really only verify content-type is last
|
2013-10-14 17:53:02 -07:00 |
Jordi Boggiano
|
b4c0b18896
|
Add tests, refs #2017
|
2013-08-12 00:52:16 +02:00 |
Jordi Boggiano
|
55927f983a
|
Remove author to fix phpunit group detection
|
2013-06-13 13:37:35 +02:00 |
Jordi Boggiano
|
93d37833dc
|
Fix tests
|
2013-05-30 15:28:38 +02:00 |
Jordi Boggiano
|
1debe22412
|
Add HTTPS_PROXY_REQUEST_FULLURI to disable the request_fulluri only for https requests, fixes #1946, fixes #1839
|
2013-05-30 14:59:02 +02:00 |
Jordi Boggiano
|
784dd0aad0
|
Fix tests
|
2013-04-05 12:58:50 +02:00 |
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
|
2013-02-27 17:07:13 +01:00 |
Jordi Boggiano
|
7aab7c6297
|
Fix StreamContextFactory tests
|
2012-10-21 17:57:16 +02:00 |
Jordi Boggiano
|
072f4397a0
|
Fix default options handling in StreamContextFactory
|
2012-05-06 13:50:18 +02:00 |
Maxim Chernyshev
|
5294cb222c
|
Precious community feedback-based refactoring
|
2012-05-02 17:21:58 +08:00 |
Maxim Chernyshev
|
37476eb61f
|
Fixed indentation
|
2012-05-02 09:30:27 +08:00 |
Maxim Chernyshev
|
8918551f29
|
Simplified proxy port determination and passed tests
|
2012-05-02 09:22:59 +08:00 |
Maxim Chernyshev
|
2ca50a1ef3
|
Merged in upstream
|
2012-05-02 08:36:05 +08:00 |
Maxim Chernyshev
|
419a1cedf0
|
Proxy credentials are now passed as part of HTTP headers
|
2012-05-02 08:26:27 +08:00 |
Danny Berger
|
e7ba0c38a8
|
Add default http(s) ports to proxy configuration if they are missing.
|
2012-04-26 21:38:12 -04:00 |
Jordi Boggiano
|
45b2165057
|
Fix tests
|
2012-03-20 14:37:14 +01:00 |
Martin Hasoň
|
492e672b23
|
Added tests for StreamContextFactory
|
2012-03-05 08:51:54 +01:00 |