PoolBuilder: Avoid loading any alternatives to fixed packages
parent
208a735645
commit
bb4cabc0b9
|
@ -124,7 +124,7 @@ class PoolBuilder
|
||||||
|
|
||||||
$loadNames = array();
|
$loadNames = array();
|
||||||
foreach ($request->getFixedPackages() as $package) {
|
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
|
// 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) {
|
foreach ($package->getReplaces() as $link) {
|
||||||
|
|
Loading…
Reference in New Issue