Conditions | 3 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
17 | public function __construct(array $data) |
||
18 | { |
||
19 | if (isset($data['value'])) { |
||
20 | $data['class'] = $data['value']; |
||
21 | } |
||
22 | |||
23 | if (empty($data['class'])) { |
||
24 | throw new RuntimeException(sprintf('Key "class" is not defined for annotation "@%s"', __CLASS__)); |
||
25 | } |
||
26 | |||
27 | $this->data = $data; |
||
28 | } |
||
50 |
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