Conditions | 4 |
Paths | 4 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
40 | public function fieldValueToHash($fieldValue, array $context = array()) |
||
41 | { |
||
42 | $data = array(); |
||
43 | |||
44 | if ($this->usingLegacyFieldType()) { |
||
45 | foreach($fieldValue->getRows() as $row) { |
||
46 | $data[] = $row->toArray(); |
||
47 | } |
||
48 | } else { |
||
49 | foreach($fieldValue->getRows() as $row) { |
||
50 | $data[] = $row->getCells(); |
||
51 | } |
||
52 | } |
||
53 | |||
54 | return $data; |
||
55 | } |
||
57 |
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