1
0
Fork 0

Update platform package regex

pull/5740/head
Jordi Boggiano 2016-10-01 13:01:47 +02:00 committed by GitHub
parent 19126d76a6
commit 9b08ee48db
1 changed files with 1 additions and 1 deletions

View File

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