Correctly indent break statements
parent
f193d61dfe
commit
99200af51b
|
@ -258,7 +258,7 @@ class RuleSetGenerator
|
|||
$rule = $this->createInstallOneOfRule($job['packages'], Rule::RULE_JOB_INSTALL, $job);
|
||||
$this->addRule(RuleSet::TYPE_JOB, $rule);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case 'remove':
|
||||
// remove all packages with this name including uninstalled
|
||||
// ones to make sure none of them are picked as replacements
|
||||
|
@ -266,7 +266,7 @@ class RuleSetGenerator
|
|||
$rule = $this->createRemoveRule($package, Rule::RULE_JOB_REMOVE, $job);
|
||||
$this->addRule(RuleSet::TYPE_JOB, $rule);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,13 +154,13 @@ class Solver
|
|||
$this->updateMap[$package->getId()] = true;
|
||||
}
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'update-all':
|
||||
foreach ($this->installedMap as $package) {
|
||||
$this->updateMap[$package->getId()] = true;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
|
||||
case 'install':
|
||||
if (!$job['packages']) {
|
||||
|
@ -168,7 +168,7 @@ class Solver
|
|||
$problem->addRule(new Rule($this->pool, array(), null, null, $job));
|
||||
$this->problems[] = $problem;
|
||||
}
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue