Total Complexity | 2 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class SocialMediaSourcesExtension extends \SilverStripe\ORM\DataExtension |
||
15 | { |
||
16 | /** @var array account names for varoius social media services */ |
||
17 | private static $db = [ |
||
18 | 'Facebook' => 'Varchar(255)', |
||
19 | 'Twitter' => 'Varchar(255)', |
||
20 | 'LinkedIn' => 'Varchar(255)', |
||
21 | 'Instagram' => 'Varchar(255)', |
||
22 | 'GooglePlus' => 'Varchar(255)', |
||
23 | 'YouTube' => 'Varchar(255)' |
||
24 | ]; |
||
25 | |||
26 | public function updateCMSFields(FieldList $fields) |
||
38 |
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