Total Complexity | 2 |
Total Lines | 15 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | class SumsHydrator extends GeneratedHydrator |
||
8 | { |
||
9 | public function hydrate(array $data, $object): object |
||
10 | { |
||
11 | return new Sums($data['sums'] ?? null); |
||
12 | } |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | * @param Sums $object |
||
17 | */ |
||
18 | public function extract($object): array |
||
22 | ]; |
||
23 | } |
||
25 |
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