From fdfdee03c1cb4af7e0cbbfe9b74b8a956c7c6d2f Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Thu, 30 Jan 2020 22:54:59 +0100 Subject: [PATCH] Remove unused argument to pool->match --- src/Composer/DependencyResolver/RuleSetGenerator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/DependencyResolver/RuleSetGenerator.php b/src/Composer/DependencyResolver/RuleSetGenerator.php index 02afdfbf7..717a69d20 100644 --- a/src/Composer/DependencyResolver/RuleSetGenerator.php +++ b/src/Composer/DependencyResolver/RuleSetGenerator.php @@ -218,7 +218,7 @@ class RuleSetGenerator /** @var PackageInterface $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) { $this->addRule(RuleSet::TYPE_PACKAGE, $this->createRule2Literals($package, $possibleConflict, Rule::RULE_PACKAGE_CONFLICT, $link));