Conditions | 4 |
Paths | 4 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 4 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
42 | 2 | protected function getDependenciesOf(array &$carry, PackageInterface $package): void |
|
43 | { |
||
44 | 2 | foreach (\array_keys($package->getRequires()) as $key) { |
|
45 | 2 | if ('php' === $key) { |
|
46 | 1 | continue; |
|
47 | } |
||
48 | |||
49 | 2 | if (0 === \mb_strpos((string) $key, 'ext-')) { |
|
50 | 1 | continue; |
|
51 | } |
||
52 | |||
53 | 2 | $carry += [$key => $key]; |
|
54 | } |
||
57 |