Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
12 | class GoogleAPISiteConfigExtension extends DataExtension |
||
|
|||
13 | { |
||
14 | private static $db = [ |
||
15 | 'Viewid' => 'Varchar(50)', |
||
16 | 'DateRange' => 'Enum("7,30,60,90")', |
||
17 | 'Metric' => 'Enum("ga:pageviews")' |
||
18 | ]; |
||
19 | |||
20 | protected static $date_range = [ |
||
21 | 7 => '7 Days', |
||
22 | 30 => '30 Days', |
||
23 | 60 => '60 Days', |
||
24 | 90 => '90 Days' |
||
25 | ]; |
||
26 | |||
27 | protected static $metrics = [ |
||
28 | 'ga:pageviews' => 'Pageviews', |
||
29 | ]; |
||
30 | |||
31 | public function updateCMSFields(FieldList $fields) |
||
40 |
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