| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 3 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | public function __invoke(): Closure |
||
| 30 | { |
||
| 31 | return |
||
| 32 | /** |
||
| 33 | * @param callable(callable(NewAType): NewBType): NewAType $f |
||
| 34 | * |
||
| 35 | * @return Closure(callable(NewAType): NewBType): NewBType |
||
| 36 | */ |
||
| 37 | static fn (callable $f): Closure => |
||
| 38 | /** |
||
| 39 | * @param callable(NewAType): NewBType $g |
||
| 40 | 2 | * |
|
| 41 | 2 | * @return NewBType |
|
|
|
|||
| 42 | 2 | */ |
|
| 43 | static fn (callable $g): mixed => ($g)((($f)($g))); |
||
| 44 | } |
||
| 46 |
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