1
0
Fork 0

Merge remote-tracking branch 'cs278/issue/879-dev-autoload-definitions'

Conflicts:
	src/Composer/Installer.php
pull/1120/merge
Jordi Boggiano 2012-10-03 11:50:06 +02:00
commit cb2a0f46a1
1 changed files with 1 additions and 4 deletions

View File

@ -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;
} }