Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 12 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 4 | public function __invoke(): Closure |
|
22 | { |
||
23 | /** @var Closure(iterable<TKey, T>): Generator<int, list<array{0: TKey, 1: T}>> $inits */ |
||
24 | 4 | $inits = (new Pipe())()( |
|
25 | 4 | (new Pack())(), |
|
26 | 4 | (new ScanLeft())()( |
|
27 | /** |
||
28 | * @param list<array{0: TKey, 1: T}> $carry |
||
|
|||
29 | * @param array{0: TKey, 1: T} $value |
||
30 | * |
||
31 | * @return list<array{0: TKey, 1: T}> |
||
32 | */ |
||
33 | 4 | static function (array $carry, array $value): array { |
|
34 | 4 | $carry[] = $value; |
|
35 | |||
36 | 4 | return $carry; |
|
37 | 4 | } |
|
38 | 4 | )([]), |
|
39 | 4 | (new Normalize())() |
|
40 | 4 | ); |
|
41 | |||
42 | // Point free style. |
||
43 | 4 | return $inits; |
|
44 | } |
||
46 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths