From 99200af51b4b4c9906eeaa09a62b25f223f589cd Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Mon, 21 May 2012 18:33:21 +0200 Subject: [PATCH] Correctly indent break statements --- src/Composer/DependencyResolver/RuleSetGenerator.php | 4 ++-- src/Composer/DependencyResolver/Solver.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/DependencyResolver/RuleSetGenerator.php b/src/Composer/DependencyResolver/RuleSetGenerator.php index 1538e5695..efed14163 100644 --- a/src/Composer/DependencyResolver/RuleSetGenerator.php +++ b/src/Composer/DependencyResolver/RuleSetGenerator.php @@ -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; } } } diff --git a/src/Composer/DependencyResolver/Solver.php b/src/Composer/DependencyResolver/Solver.php index 0b564c905..64e31799e 100644 --- a/src/Composer/DependencyResolver/Solver.php +++ b/src/Composer/DependencyResolver/Solver.php @@ -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; } } }