mirror of
https://github.com/composer/composer
synced 2025-05-09 16:42:57 +00:00
Give a clearer error message explaining how to update a conflicting locked dependency
This commit is contained in:
parent
1b55b466fb
commit
9858718ef6
5 changed files with 80 additions and 3 deletions
|
@ -123,6 +123,11 @@ abstract class Rule
|
|||
|
||||
abstract public function isAssertion();
|
||||
|
||||
public function isCausedByLock()
|
||||
{
|
||||
return $this->getReason() === self::RULE_FIXED && $this->reasonData['lockable'];
|
||||
}
|
||||
|
||||
public function getPrettyString(RepositorySet $repositorySet, Request $request, Pool $pool, array $installedMap = array(), array $learnedPool = array())
|
||||
{
|
||||
$literals = $this->getLiterals();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue