| Conditions | 4 |
| Paths | 4 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | public function hashToFieldValue($fieldValue, array $context = array()) |
||
| 22 | { |
||
| 23 | /// @todo resolve refs ? |
||
| 24 | |||
| 25 | if ($this->usingLegacyFieldType()) { |
||
| 26 | $rows = array(); |
||
| 27 | foreach($fieldValue as $data) { |
||
| 28 | $rows[] = new \EzSystems\MatrixBundle\FieldType\Matrix\Row($data); |
||
|
|
|||
| 29 | } |
||
| 30 | return new \EzSystems\MatrixBundle\FieldType\Matrix\Value($rows); |
||
| 31 | } else { |
||
| 32 | $rows = array(); |
||
| 33 | foreach($fieldValue as $data) { |
||
| 34 | $rows[] = new \EzSystems\EzPlatformMatrixFieldtype\FieldType\Value\Row($data); |
||
| 35 | } |
||
| 36 | return new \EzSystems\EzPlatformMatrixFieldtype\FieldType\Value($rows); |
||
| 37 | } |
||
| 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