Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | 4 | public function __invoke(): Closure |
|
22 | { |
||
23 | /** @var Closure(iterable<TKey, T>): Generator<int, array<TKey, T>> $pipe */ |
||
24 | 4 | $pipe = (new Pipe())()( |
|
25 | 4 | (new Map())()( |
|
26 | /** |
||
27 | * @param T $value |
||
28 | * @param TKey $key |
||
|
|||
29 | * |
||
30 | * @return array<TKey, T> |
||
31 | */ |
||
32 | 4 | static fn (mixed $value, mixed $key): array => [$key => $value] |
|
33 | 4 | ), |
|
34 | 4 | (new Normalize())() |
|
35 | 4 | ); |
|
36 | |||
37 | // Point free style. |
||
38 | 4 | return $pipe; |
|
39 | } |
||
41 |
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