1
0
Fork 0

Recognize composer-plugin-api as a platform package, fixes #7951

pull/7928/head
Jordi Boggiano 2019-02-10 12:49:29 +01:00
parent 4de1f021f5
commit e1ac0c7948
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ use Symfony\Component\Process\ExecutableFinder;
*/
class PlatformRepository extends ArrayRepository
{
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-debug)?|hhvm|(?:ext|lib)-[a-z0-9](?:[_.-]?[a-z0-9]+)*)$}iD';
const PLATFORM_PACKAGE_REGEX = '{^(?:php(?:-64bit|-ipv6|-zts|-debug)?|hhvm|(?:ext|lib)-[a-z0-9](?:[_.-]?[a-z0-9]+)*|composer-plugin-api)$}iD';
private $versionParser;