Add rules for aliased packages when an alias is added, fixes #8902
parent
dfccf8c091
commit
0ea9eafcaf
|
@ -165,6 +165,7 @@ class RuleSetGenerator
|
||||||
$this->addedPackagesByNames[$name][] = $package;
|
$this->addedPackagesByNames[$name][] = $package;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$workQueue->enqueue($package->getAliasOf());
|
||||||
$this->addRule(RuleSet::TYPE_PACKAGE, $this->createRequireRule($package, array($package->getAliasOf()), Rule::RULE_PACKAGE_ALIAS, $package));
|
$this->addRule(RuleSet::TYPE_PACKAGE, $this->createRequireRule($package, array($package->getAliasOf()), Rule::RULE_PACKAGE_ALIAS, $package));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,11 +34,11 @@ Your requirements could not be resolved to an installable set of packages.
|
||||||
|
|
||||||
Problem 1
|
Problem 1
|
||||||
- Root composer.json requires beyondcode/laravel-dump-server ^1.3 -> satisfiable by beyondcode/laravel-dump-server[1.4.0].
|
- Root composer.json requires beyondcode/laravel-dump-server ^1.3 -> satisfiable by beyondcode/laravel-dump-server[1.4.0].
|
||||||
- beyondcode/laravel-dump-server 1.4.0 requires symfony/var-dumper ^5.0 -> satisfiable by symfony/var-dumper[dev-master].
|
- You can only install one version of a package, so only one of these can be installed: symfony/var-dumper[dev-master, 4.4.0].
|
||||||
- Root composer.json requires laravel/framework ^6.8 -> satisfiable by laravel/framework[6.8.14].
|
- don't install symfony/var-dumper 5.2.x-dev|install symfony/var-dumper dev-master
|
||||||
- laravel/framework 6.8.14 requires symfony/var-dumper ^4.3.4 -> satisfiable by symfony/var-dumper[4.4.0].
|
- laravel/framework 6.8.14 requires symfony/var-dumper ^4.3.4 -> satisfiable by symfony/var-dumper[4.4.0].
|
||||||
etc...
|
- beyondcode/laravel-dump-server 1.4.0 requires symfony/var-dumper ^5.0 -> satisfiable by symfony/var-dumper[5.2.x-dev (alias of dev-master)].
|
||||||
|
- Root composer.json requires laravel/framework ^6.8 -> satisfiable by laravel/framework[6.8.14].
|
||||||
|
|
||||||
--EXPECT--
|
--EXPECT--
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue