@@ -65,7 +65,7 @@ |
||
65 | 65 | * Similar to a usort except that if 2 priorities are equal, order is preserved. |
66 | 66 | * Shamelessly copied from http://php.net/manual/fr/function.usort.php#38827 |
67 | 67 | * |
68 | - * @param $array |
|
68 | + * @param Asset[] $array |
|
69 | 69 | * @param string $cmp_function |
70 | 70 | */ |
71 | 71 | private function stableSort(&$array, $cmp_function = 'strcmp') |
@@ -12,10 +12,7 @@ |
||
12 | 12 | use Composer\Plugin\PluginInterface; |
13 | 13 | use Composer\Script\Event; |
14 | 14 | use Composer\Script\ScriptEvents; |
15 | -use Seld\JsonLint\JsonParser; |
|
16 | -use Seld\JsonLint\ParsingException; |
|
17 | 15 | use Symfony\Component\Filesystem\Filesystem; |
18 | -use TheCodingMachine\Discovery\Utils\JsonException; |
|
19 | 16 | |
20 | 17 | class DiscoveryPlugin implements PluginInterface, EventSubscriberInterface |
21 | 18 | { |