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())
|
||||
)
|
||||
) {
|
||||
$newPackage = clone $package;
|
||||
$newPackage->setSourceReference($lockedPackage->getSourceReference());
|
||||
$newPackage->setDistReference($lockedPackage->getDistReference());
|
||||
$operations[] = new UpdateOperation($package, $newPackage);
|
||||
$operations[] = new UpdateOperation($package, $lockedPackage);
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue