1
0
Fork 0

Avoid lazy-loading composer-plugin-api

pull/5202/merge
Jordi Boggiano 2016-04-15 14:04:44 +01:00
parent dabad42cf9
commit ff4e2ec219
1 changed files with 2 additions and 2 deletions

View File

@ -280,8 +280,8 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
return $this->providers[$name];
}
// skip platform packages
if (preg_match(PlatformRepository::PLATFORM_PACKAGE_REGEX, $name) || '__root__' === $name) {
// skip platform packages, root package and composer-plugin-api
if (preg_match(PlatformRepository::PLATFORM_PACKAGE_REGEX, $name) || '__root__' === $name || 'composer-plugin-api' === $name) {
return array();
}