Skip to content

Commit a08ff85

Browse files
committed
csfixed
1 parent f6b00f4 commit a08ff85

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Plugin.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
use Composer\Script\Event;
2121
use Composer\Script\ScriptEvents;
2222
use Composer\Util\Filesystem;
23-
use Symfony\Component\Console\Formatter\OutputFormatterStyle;
2423

2524
/**
2625
* Plugin class.
@@ -367,7 +366,7 @@ protected function iteratePackage(PackageInterface $package, $includingDev = fal
367366

368367
/// package depth in dependency hierarchy
369368
static $depth = 0;
370-
$depth++;
369+
++$depth;
371370

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

380-
$depth--;
379+
--$depth;
381380
}
382381

383382
/**

0 commit comments

Comments
 (0)