Avoid generating duplicate aliases in lock file if several aliased packages are installed
parent
64f907f93f
commit
2e64e8dc2e
|
@ -122,9 +122,10 @@ class LockTransaction extends Transaction
|
|||
|
||||
foreach ($this->resultPackages['all'] as $package) {
|
||||
if ($package instanceof AliasPackage) {
|
||||
foreach ($aliases as $alias) {
|
||||
foreach ($aliases as $index => $alias) {
|
||||
if ($alias['package'] === $package->getName()) {
|
||||
$usedAliases[] = $alias;
|
||||
unset($aliases[$index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue