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