| 1 | <?php |
||
| 2 | |||
| 3 | namespace LeKoala\CommonExtensions\Test; |
||
| 4 | |||
| 5 | use SilverStripe\Dev\TestOnly; |
||
| 6 | use SilverStripe\ORM\DataObject; |
||
| 7 | use LeKoala\CommonExtensions\IPExtension; |
||
| 8 | use LeKoala\GeoTools\FieldType\DBCountry; |
||
|
0 ignored issues
–
show
|
|||
| 9 | |||
| 10 | class Test_CommonExtensions extends DataObject implements TestOnly |
||
| 11 | { |
||
| 12 | private static $db = [ |
||
|
0 ignored issues
–
show
|
|||
| 13 | "Phone" => "Varchar(51)", |
||
| 14 | "CountryCode" => DBCountry::class, |
||
| 15 | ]; |
||
| 16 | private static $table_name = 'CommonExtensions'; |
||
|
0 ignored issues
–
show
|
|||
| 17 | private static $extensions = [ |
||
|
0 ignored issues
–
show
|
|||
| 18 | IPExtension::class, |
||
| 19 | ]; |
||
| 20 | } |
||
| 21 |
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