1
0
Fork 0

Make sure php-ipv6 is recognized as a platform package as well

pull/5683/head
Jordi Boggiano 2016-09-12 22:49:44 +02:00
parent 41eb297248
commit a2b3e89d56
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ use Composer\Util\Silencer;
*/
class PlatformRepository extends ArrayRepository
{
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit)?|hhvm|(?:ext|lib)-[^/]+)$}i';
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6)?|hhvm|(?:ext|lib)-[^/]+)$}i';
/**
* Defines overrides so that the platform can be mocked