Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
36 | 2 | private static function of1(): Closure |
|
37 | { |
||
38 | return |
||
39 | 2 | /** |
|
40 | * @param callable(U): V $f |
||
41 | */ |
||
42 | static fn (callable $f): Closure => |
||
43 | /** |
||
44 | * @param callable(...T): U $g |
||
45 | 2 | */ |
|
46 | static fn (callable $g): Closure => |
||
47 | /** |
||
48 | * @param T ...$x |
||
49 | 2 | * |
|
50 | * @return V |
||
|
|||
51 | */ |
||
52 | static fn (...$x): mixed => $f($g(...$x)); |
||
53 | } |
||
55 |
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