| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | 2 | public function __invoke(): Closure |
|
| 24 | { |
||
| 25 | /** @var Closure(iterable<TKey, T>): Generator<int, string> $pipe */ |
||
| 26 | 2 | $pipe = (new Pipe())()( |
|
| 27 | 2 | (new Explode())()([PHP_EOL, "\n", "\r\n"]), |
|
| 28 | 2 | (new Map())()( |
|
| 29 | /** |
||
| 30 | * @param list<T> $value |
||
|
|
|||
| 31 | */ |
||
| 32 | 2 | static fn (array $value): string => implode('', $value) |
|
| 33 | 2 | ) |
|
| 34 | 2 | ); |
|
| 35 | |||
| 36 | // Point free style. |
||
| 37 | 2 | return $pipe; |
|
| 38 | } |
||
| 40 |
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