mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Let the solver handle aliases instead of the installer
This commit is contained in:
parent
d74eec9bd5
commit
0c1944a9d0
13 changed files with 382 additions and 109 deletions
|
@ -103,8 +103,8 @@ class ArrayRepository implements RepositoryInterface
|
|||
$package->setRepository($this);
|
||||
$this->packages[] = $package;
|
||||
|
||||
// create alias package on the fly if needed (installed repos manage aliases themselves)
|
||||
if ($package->getAlias() && !$this instanceof InstalledRepositoryInterface) {
|
||||
// create alias package on the fly if needed
|
||||
if ($package->getAlias()) {
|
||||
$this->addPackage($this->createAliasPackage($package));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue