| Total Complexity | 1 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class DataPoint extends DataObject |
||
|
|
|||
| 6 | { |
||
| 7 | private static $db = [ |
||
| 8 | 'Title' => 'Varchar', |
||
| 9 | 'Description' => 'HTMLText', |
||
| 10 | 'XCoordinate' => 'Float', //todo: check if this works or try Varchar |
||
| 11 | 'YCoordinate' => 'Float', |
||
| 12 | ]; |
||
| 13 | |||
| 14 | private static $has_one = [ |
||
| 15 | 'Parent' => DataObject::class, |
||
| 16 | ]; |
||
| 17 | |||
| 18 | public function getCMSFields() |
||
| 36 |
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