Merge remote-tracking branch 'cs278/issue/879-dev-autoload-definitions'
Conflicts: src/Composer/Installer.phppull/1120/merge
commit
cb2a0f46a1
|
@ -399,10 +399,7 @@ class Installer
|
||||||
|| ($lockedPackage->getDistReference() && $lockedPackage->getDistReference() !== $package->getDistReference())
|
|| ($lockedPackage->getDistReference() && $lockedPackage->getDistReference() !== $package->getDistReference())
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
$newPackage = clone $package;
|
$operations[] = new UpdateOperation($package, $lockedPackage);
|
||||||
$newPackage->setSourceReference($lockedPackage->getSourceReference());
|
|
||||||
$newPackage->setDistReference($lockedPackage->getDistReference());
|
|
||||||
$operations[] = new UpdateOperation($package, $newPackage);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue