1
0
Fork 0
composer/tests/Composer/Test
johnstevenson 74ba9decdf Rewrite NoProxyPattern to include IPv6
This includes two breaking changes:
- the hostname is not resolved in the case of an IP address.
- a hostname with a trailing period (FQDN) is not matched.

This brings the basic implementation in line with curl behaviour, with
the addition of full IP address and range matching (curl does not
differentiate between IP addresses host names).

The NO_PROXY environment variable can be set to either a comma-separated
list of host names that should not use a proxy, or single asterisk `*`
to match all hosts.

- Port numbers can be included by prefixing the port with a colon `:`.
- IP addresses can be used, but must be enclosed in square brackets
`[...]` if they include a port number.
- IP address ranges can specified in CIDR notation, separating the IP
address and prefix-length with a forward slash `/`.
2019-11-29 20:39:08 +00:00
..
Autoload Fix tests for PSR-fix in optimized autoloader, refs #8397 2019-11-01 15:31:55 +01:00
Command Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Config Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Console Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase 2017-11-30 13:44:43 -02:00
DependencyResolver Remove unused private methods 2019-07-24 03:13:53 +02:00
Downloader Fix Windows test regression from commit 149250a 2019-11-07 12:50:42 +00:00
EventDispatcher Call a script recursively with extra parameters (#7720) 2018-11-26 12:35:41 +01:00
Fixtures Add tests for installer with lock: false 2019-10-20 10:51:59 +02:00
IO feat(buffer-io): add the possibility to set user inputs for interactive questions 2019-01-05 11:59:33 +01:00
Installer Add output for metapackage installs/updates/.. fixes #7586 2019-01-29 11:38:18 +01:00
Json Fix remove command not working with escaped slashes (e.g. foo\/bar), fixes #8249 2019-07-30 09:48:49 +02:00
Mock Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Package Remove override assignment 2019-07-24 02:57:08 +02:00
Plugin Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Question Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
Repository Remove unused variable 2019-10-08 20:49:44 +01:00
Script Fix indenting 2019-07-29 16:44:50 +02:00
Util Rewrite NoProxyPattern to include IPv6 2019-11-29 20:39:08 +00:00
AllFunctionalTest.php Make usage of foreach to improve readability 2019-07-24 02:39:40 +02:00
ApplicationTest.php Fix: Xdebug vs xdebug 2019-11-03 14:08:14 +01:00
CacheTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
ComposerTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
ConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
DefaultConfigTest.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00
FactoryTest.php Fix TestCase import 2018-11-12 15:24:28 +01:00
InstallerTest.php Merge branch '1.9' 2019-10-29 23:09:53 +01:00
TestCase.php Fixes from PHPStan (#7687) 2018-11-12 15:23:32 +01:00