1 | <?php |
||
14 | class SampleManageableObjectPage_Controller extends Page_Controller implements TestOnly |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private static $allowed_actions = [ |
||
21 | 'Form', |
||
22 | ]; |
||
23 | |||
24 | /** |
||
25 | * @var array |
||
26 | */ |
||
27 | private static $extensions = [ |
||
28 | ManageableDataObjectExtension::class |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | */ |
||
34 | private static $managed_object = SampleManageableDataObject::class; |
||
35 | |||
36 | /** |
||
37 | * |
||
38 | */ |
||
39 | 4 | public function init() |
|
40 | { |
||
41 | 4 | parent::init(); |
|
42 | 4 | Requirements::clear(); |
|
43 | 4 | } |
|
44 | |||
45 | 4 | public function Form() |
|
48 | } |
||
49 | |||
50 | } |
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