diff --git a/src/Plugin.php b/src/Plugin.php index 739aa5b..463eb22 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -20,7 +20,6 @@ use Composer\Script\Event; use Composer\Script\ScriptEvents; use Composer\Util\Filesystem; -use Symfony\Component\Console\Formatter\OutputFormatterStyle; /** * Plugin class. @@ -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) { @@ -377,7 +376,7 @@ protected function iteratePackage(PackageInterface $package, $includingDev = fal $this->orderedList[$name] = $depth; } - $depth--; + --$depth; } /**