1
0
Fork 0

fix follow up issue to #4795

pull/5059/head
Rob Bast 2016-03-15 11:17:58 +01:00
parent dfdcfab822
commit 8a19e8bd17
1 changed files with 5 additions and 0 deletions

View File

@ -1175,10 +1175,15 @@ class Installer
$requirePackages = $pool->whatProvides($require->getTarget());
foreach ($requirePackages as $requirePackage) {
if (isset($this->updateWhitelist[$requirePackage->getName()])) {
continue;
}
if (isset($skipPackages[$requirePackage->getName()])) {
$this->io->writeError('<warning>Dependency "' . $requirePackage->getName() . '" is also a root requirement, but is not explicitly whitelisted. Ignoring.</warning>');
continue;
}
$packageQueue->enqueue($requirePackage);
}
}