From 9acbb0c026d3855d7ef150e105f31c6af677e4b0 Mon Sep 17 00:00:00 2001 From: Hugo Hamon Date: Wed, 11 Jan 2012 09:11:27 +0100 Subject: [PATCH] [DependencyResolver] removed unused local variables and fixed some wrong local variable names in Solver class. --- src/Composer/DependencyResolver/Solver.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Composer/DependencyResolver/Solver.php b/src/Composer/DependencyResolver/Solver.php index cc1ec4e92..2b6498965 100644 --- a/src/Composer/DependencyResolver/Solver.php +++ b/src/Composer/DependencyResolver/Solver.php @@ -1078,9 +1078,7 @@ class Solver protected function createTransaction() { $transaction = array(); - $installMeansUpdateMap = array(); - $ignoreRemoveMap = array(); foreach ($this->decisionQueue as $i => $literal) { $package = $literal->getPackage(); @@ -1739,7 +1737,7 @@ class Solver $level = 1; $systemLevel = $level + 1; - $minimizationsteps = 0; + $minimizationSteps = 0; $installedPos = 0; $this->installedPackages = $this->installed->getPackages(); @@ -1930,7 +1928,7 @@ class Solver $installedPos = 0; } - $systemlevel = $level + 1; + $systemLevel = $level + 1; if ($pass < 2) { // had trouble => retry