PoolBuilder: Avoid loading any alternatives to fixed packages

main
Nils Adermann 4 years ago committed by Jordi Boggiano
parent 208a735645
commit bb4cabc0b9
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC

@ -124,7 +124,7 @@ class PoolBuilder
$loadNames = array();
foreach ($request->getFixedPackages() as $package) {
$this->loadedNames[$package->getName()] = new Constraint('==', $package->getVersion());
$this->loadedNames[$package->getName()] = new EmptyConstraint();
// replace means conflict, so if a fixed package replaces a name, no need to load that one, packages would conflict anyways
foreach ($package->getReplaces() as $link) {

Loading…
Cancel
Save