Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 2 | public function __invoke(): Closure |
|
20 | { |
||
21 | 2 | $getPermutations = |
|
22 | /** |
||
23 | * @param list<T> $dataset |
||
|
|||
24 | * |
||
25 | * @return Generator<int, list<T>> |
||
26 | */ |
||
27 | 2 | fn (array $dataset): Generator => $this->getPermutations($dataset); |
|
28 | |||
29 | 2 | return |
|
30 | /** |
||
31 | * @param iterable<TKey, T> $iterable |
||
32 | * |
||
33 | * @return Generator<int, list<T>> |
||
34 | * |
||
35 | * @psalm-suppress InvalidOperand |
||
36 | */ |
||
37 | 2 | static fn (iterable $iterable): Generator => $getPermutations([...(new IterableIteratorAggregate($iterable))]); |
|
38 | } |
||
67 |
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