Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
23 | 2 | public function __invoke(): Closure |
|
24 | { |
||
25 | 2 | return |
|
26 | /** |
||
27 | * @param array<TKey> $keys |
||
28 | * |
||
29 | * @return Closure(iterable<TKey, T>): Generator<TKey, T> |
||
30 | */ |
||
31 | 2 | static fn (array $keys): Closure => (new Filter())()( |
|
32 | /** |
||
33 | * @param T $value |
||
34 | * @param TKey $key |
||
|
|||
35 | */ |
||
36 | 2 | static fn (mixed $value, mixed $key): bool => !in_array($key, $keys, true) |
|
37 | 2 | ); |
|
40 |
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