Conditions | 3 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 12 |
Changes | 0 |
1 | <?php |
||
28 | public static function prefixPackageAutoloads(array $content, string $prefix): array |
||
29 | { |
||
30 | if (isset($content['autoload'])) { |
||
31 | $content['autoload'] = self::prefixAutoloads($content['autoload'], $prefix); |
||
32 | } |
||
33 | |||
34 | if (isset($content['autoload-dev'])) { |
||
35 | $content['autoload-dev'] = self::prefixAutoloads($content['autoload-dev'], $prefix); |
||
36 | } |
||
37 | |||
38 | return $content; |
||
39 | } |
||
40 | |||
61 |