1
0
Fork 0

Correctly indent break statements

pull/715/head
Nils Adermann 2012-05-21 18:33:21 +02:00
parent f193d61dfe
commit 99200af51b
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}
}
}

View File

@ -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;
}
}
}