| Conditions | 1 |
| Paths | 1 |
| Total Lines | 21 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 1 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function __invoke(): Closure |
||
| 32 | { |
||
| 33 | return |
||
| 34 | /** |
||
| 35 | * @param callable(NewAType): (Closure(NewBType): NewCType) $f |
||
| 36 | * |
||
| 37 | * @return Closure(callable(NewBType): NewAType): Closure(NewBType): NewCType |
||
| 38 | */ |
||
| 39 | static fn (callable $f): Closure => |
||
| 40 | /** |
||
| 41 | * @param callable(NewBType): NewAType $g |
||
| 42 | * |
||
| 43 | * @return Closure(NewBType): NewCType |
||
| 44 | */ |
||
| 45 | static fn (callable $g): Closure => |
||
| 46 | /** |
||
| 47 | * @param NewBType $x |
||
|
|
|||
| 48 | * |
||
| 49 | * @return NewCType |
||
| 50 | */ |
||
| 51 | 1 | static fn (mixed $x): mixed => $f($g($x))($x); |
|
| 52 | 1 | } |
|
| 54 |
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