1
0
Fork 0

Avoid checking stability on platform packages too

pull/8533/head
Jordi Boggiano 2020-01-17 15:29:30 +01:00
parent ebe910c3a5
commit 7cc8a4aed8
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class PoolBuilder
unset($loadNames[$package->getName()]); unset($loadNames[$package->getName()]);
if ( if (
$package->getRepository() instanceof RootPackageRepository $package->getRepository() instanceof RootPackageRepository
|| $package->getRepository() instanceof PlatformRepository
|| StabilityFilter::isPackageAcceptable($this->acceptableStabilities, $this->stabilityFlags, $package->getNames(), $package->getStability()) || StabilityFilter::isPackageAcceptable($this->acceptableStabilities, $this->stabilityFlags, $package->getNames(), $package->getStability())
) { ) {
$loadNames += $this->loadPackage($request, $package); $loadNames += $this->loadPackage($request, $package);