| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function updateCMSFields(FieldList $fields) |
||
| 24 | { |
||
| 25 | $fields->addFieldsToTab( |
||
| 26 | 'Root.ImageWithDataPoints', |
||
| 27 | [ |
||
| 28 | UploadField::create( |
||
| 29 | 'DataPointImage', |
||
| 30 | 'Image' |
||
| 31 | ) |
||
| 32 | ->setFolderName('data-point-images'), |
||
| 33 | GridField::create( |
||
| 34 | 'DataPoints', |
||
| 35 | 'Data Points', |
||
| 36 | $this->owner->DataPoints(), |
||
| 37 | GridFieldConfig_RelationEditor::create() |
||
| 38 | )->setDescription('Please add as many datapoints as needed.'), |
||
| 39 | ] |
||
| 43 |
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