1 | <?php |
||
2 | |||
3 | namespace DNADesign\Elemental\Tests\TopPage; |
||
4 | |||
5 | use DNADesign\Elemental\Extensions\ElementalPageExtension; |
||
6 | use Page; |
||
0 ignored issues
–
show
|
|||
7 | use SilverStripe\Dev\TestOnly; |
||
8 | |||
9 | /** |
||
10 | * Class TestChildPage |
||
11 | * |
||
12 | * @method TestContent TestContent() |
||
13 | * @mixin ElementalPageExtension |
||
14 | * @package DNADesign\Elemental\Tests\TopPage |
||
15 | */ |
||
16 | class TestChildPage extends Page implements TestOnly |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | private static $table_name = 'TestChildPage'; |
||
0 ignored issues
–
show
|
|||
22 | |||
23 | /** |
||
24 | * @var array |
||
25 | */ |
||
26 | private static $belongs_to = [ |
||
0 ignored issues
–
show
|
|||
27 | 'TestContent' => TestContent::class . '.ChildPage', |
||
28 | ]; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | private static $extensions = [ |
||
0 ignored issues
–
show
|
|||
34 | ElementalPageExtension::class, |
||
35 | ]; |
||
36 | } |
||
37 |
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