1
0
Fork 0

Avoid nameConstraints from being collected for fixed packages

pull/8531/head
Jordi Boggiano 2020-01-15 16:21:23 +01:00
parent e50f78043a
commit 73bc137c3c
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 1 additions and 0 deletions

View File

@ -52,6 +52,7 @@ class PoolBuilder
// TODO do we really want the request here? kind of want a root requirements thingy instead
$loadNames = array();
foreach ($request->getFixedPackages() as $package) {
$this->nameConstraints[$package->getName()] = null;
$this->loadedNames[$package->getName()] = true;
unset($loadNames[$package->getName()]);
$loadNames += $this->loadPackage($request, $package);