Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
11 | class JsonRpcParamsValidator |
||
12 | { |
||
13 | /** @var ValidatorInterface */ |
||
14 | private $validator; |
||
15 | |||
16 | /** |
||
17 | * @param ValidatorInterface $validator |
||
18 | */ |
||
19 | public function __construct(ValidatorInterface $validator) |
||
20 | { |
||
21 | $this->validator = $validator; |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @param ValidateParamsEvent $event |
||
26 | */ |
||
27 | public function validate(ValidateParamsEvent $event) |
||
38 | ]); |
||
39 | } |
||
42 |
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