Total Complexity | 2 |
Total Lines | 14 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class Test_ActionsPage extends DataObject implements TestOnly |
||
15 | { |
||
16 | private static $table_name = 'ActionsPage'; |
||
17 | |||
18 | public function getCMSActions() |
||
19 | { |
||
20 | $actions = parent::getCMSActions(); |
||
21 | $actions->push(new CustomAction('testAction', 'Test Action')); |
||
22 | return $actions; |
||
23 | } |
||
24 | |||
25 | public function testAction() |
||
28 | } |
||
29 | } |
||
30 |
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