Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | final class NestedFilters |
||
17 | { |
||
18 | /** |
||
19 | * @var list<array{string|NestedFilters, string|null, mixed|null}> |
||
|
|||
20 | */ |
||
21 | private array $filters; |
||
22 | |||
23 | /** |
||
24 | * @var CompositeExpression::TYPE_AND|CompositeExpression::TYPE_OR |
||
25 | */ |
||
26 | private string $type; |
||
27 | |||
28 | /** |
||
29 | * @param list<array{string|NestedFilters, string|null, mixed|null}> $filters |
||
30 | * @param CompositeExpression::TYPE_AND|CompositeExpression::TYPE_OR $type |
||
31 | */ |
||
32 | 10 | public function __construct(array $filters, string $type = CompositeExpression::TYPE_AND) |
|
36 | } |
||
37 | |||
38 | 8 | public function __invoke(Whereable $query): void |
|
49 |
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