Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
31 | 2 | public static function of(): Closure |
|
32 | { |
||
33 | return |
||
34 | /** |
||
35 | * @param callable(U, T, ...V): W $callable |
||
36 | * |
||
37 | * @return callable(T, U, ...V): W |
||
38 | */ |
||
39 | 2 | static fn (callable $callable): Closure => |
|
40 | /** |
||
41 | * @param T $a |
||
42 | * @param U $b |
||
43 | * @param V ...$rest |
||
|
|||
44 | * |
||
45 | * @no-named-arguments |
||
46 | */ |
||
47 | 2 | static fn ($a, $b, ...$rest): mixed => $callable($b, $a, ...$rest); |
|
48 | } |
||
50 |
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