|
|
@ -524,12 +524,14 @@ class Solver
|
|
|
|
|
|
|
|
|
|
|
|
if (!$job) {
|
|
|
|
if (!$job) {
|
|
|
|
$why->disable();
|
|
|
|
$why->disable();
|
|
|
|
} else {
|
|
|
|
|
|
|
|
// disable all rules of this job
|
|
|
|
return;
|
|
|
|
foreach ($this->rules as $rule) {
|
|
|
|
}
|
|
|
|
if ($job === $rule->getJob()) {
|
|
|
|
|
|
|
|
$rule->disable();
|
|
|
|
// disable all rules of this job
|
|
|
|
}
|
|
|
|
foreach ($this->rules as $rule) {
|
|
|
|
|
|
|
|
if ($job === $rule->getJob()) {
|
|
|
|
|
|
|
|
$rule->disable();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -600,12 +602,12 @@ class Solver
|
|
|
|
|
|
|
|
|
|
|
|
if (1 === $level) {
|
|
|
|
if (1 === $level) {
|
|
|
|
$conflictRule = $this->propagate($level);
|
|
|
|
$conflictRule = $this->propagate($level);
|
|
|
|
if ($conflictRule !== null) {
|
|
|
|
if (null !== $conflictRule) {
|
|
|
|
if ($this->analyzeUnsolvable($conflictRule, $disableRules)) {
|
|
|
|
if ($this->analyzeUnsolvable($conflictRule, $disableRules)) {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
} else {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|