Skip to content

Commit

Permalink
csfixed
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 19, 2017
1 parent f6b00f4 commit a08ff85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
use Composer\Script\Event;
use Composer\Script\ScriptEvents;
use Composer\Util\Filesystem;
use Symfony\Component\Console\Formatter\OutputFormatterStyle;

/**
* Plugin class.
Expand Down Expand Up @@ -367,7 +366,7 @@ protected function iteratePackage(PackageInterface $package, $includingDev = fal

/// package depth in dependency hierarchy
static $depth = 0;
$depth++;
++$depth;

$this->iterateDependencies($package);
if ($includingDev) {
Expand All @@ -377,7 +376,7 @@ protected function iteratePackage(PackageInterface $package, $includingDev = fal
$this->orderedList[$name] = $depth;
}

$depth--;
--$depth;
}

/**
Expand Down

0 comments on commit a08ff85

Please sign in to comment.