mirror of
https://github.com/composer/composer
synced 2025-05-10 17:12:51 +00:00
Dont recommend to use with all dependencies option when it is already used
This commit is contained in:
parent
d9454938b0
commit
7402ef33fc
2 changed files with 51 additions and 1 deletions
|
@ -63,7 +63,7 @@ class SolverProblemsException extends \RuntimeException
|
|||
$hints[] = $this->createExtensionHint();
|
||||
}
|
||||
|
||||
if ($isCausedByLock && !$isDevExtraction) {
|
||||
if ($isCausedByLock && !$isDevExtraction && !$request->getUpdateAllowTransitiveRootDependencies()) {
|
||||
$hints[] = "Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue