浏览代码

MultiConflictRules cannot be disabled, so no need to check

Nils Adermann 5 年之前
父节点
当前提交
28afc4de32
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/Composer/DependencyResolver/RuleWatchGraph.php

+ 0 - 1
src/Composer/DependencyResolver/RuleWatchGraph.php

@@ -128,7 +128,6 @@ class RuleWatchGraph
                     $decisions->decide($otherWatch, $level, $node->getRule());
                 }
             } else {
-                // check isDisabled?
                 foreach ($node->getRule()->getLiterals() as $otherLiteral) {
                     if ($literal !== $otherLiteral && !$decisions->satisfy($otherLiteral)) {
                         if ($decisions->conflict($otherLiteral)) {