| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function getCMSFields() |
||
| 19 | { |
||
| 20 | $fields = parent::getCMSFields(); |
||
| 21 | $fields->addFieldToTab( |
||
| 22 | 'Root.Main', |
||
| 23 | ImageCoordField::create( |
||
| 24 | $name = 'DataPointImageCoordinates', |
||
| 25 | $xFieldName = 'XCoordinate', |
||
| 26 | $yFieldName = 'YCoordinate', |
||
| 27 | $imageURL = $this->Parent()->DataPointImage()->Link(), |
||
| 28 | $width = $this->Parent()->DataPointImage()->width(), |
||
| 29 | $height = $this->Parent()->DataPointImage()->height(), |
||
| 30 | $cssGrid = true |
||
| 31 | ) |
||
| 32 | ); |
||
| 33 | return $fields; |
||
| 34 | } |
||
| 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