Conditions | 1 |
Paths | 1 |
Total Lines | 18 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
21 | 16 | public function __invoke(): Closure |
|
22 | { |
||
23 | 16 | return (new Associate())()( |
|
24 | /** |
||
25 | * @param TKey $key |
||
|
|||
26 | * @param T $value |
||
27 | * |
||
28 | * @return T |
||
29 | */ |
||
30 | 16 | static fn (mixed $key, mixed $value): mixed => $value |
|
31 | 16 | )( |
|
32 | /** |
||
33 | * @param T $value |
||
34 | * @param TKey $key |
||
35 | * |
||
36 | * @return TKey |
||
37 | */ |
||
38 | 16 | static fn (mixed $value, mixed $key): mixed => $key |
|
39 | 16 | ); |
|
42 |
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