Remove unused argument to pool->match
parent
4f44b7b221
commit
fdfdee03c1
|
@ -218,7 +218,7 @@ class RuleSetGenerator
|
||||||
|
|
||||||
/** @var PackageInterface $possibleConflict */
|
/** @var PackageInterface $possibleConflict */
|
||||||
foreach ($this->addedPackagesByNames[$link->getTarget()] as $possibleConflict) {
|
foreach ($this->addedPackagesByNames[$link->getTarget()] as $possibleConflict) {
|
||||||
$conflictMatch = $this->pool->match($possibleConflict, $link->getTarget(), $link->getConstraint(), true);
|
$conflictMatch = $this->pool->match($possibleConflict, $link->getTarget(), $link->getConstraint());
|
||||||
|
|
||||||
if ($conflictMatch === Pool::MATCH || $conflictMatch === Pool::MATCH_REPLACE) {
|
if ($conflictMatch === Pool::MATCH || $conflictMatch === Pool::MATCH_REPLACE) {
|
||||||
$this->addRule(RuleSet::TYPE_PACKAGE, $this->createRule2Literals($package, $possibleConflict, Rule::RULE_PACKAGE_CONFLICT, $link));
|
$this->addRule(RuleSet::TYPE_PACKAGE, $this->createRule2Literals($package, $possibleConflict, Rule::RULE_PACKAGE_CONFLICT, $link));
|
||||||
|
|
Loading…
Reference in New Issue