1
0
Fork 0
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:
Arnaud Vanwambeke 2021-02-03 23:43:35 -05:00
parent d9454938b0
commit 7402ef33fc
2 changed files with 51 additions and 1 deletions

View file

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