Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
21 | abstract class BD_Base_Addon extends BD_Addon { |
||
22 | /** |
||
23 | * Use `factory()` method to create instance of this class. |
||
24 | * Don't create instances directly. |
||
25 | * |
||
26 | * @since 5.5 |
||
27 | * @see factory() |
||
28 | */ |
||
29 | public function __construct() { |
||
30 | parent::__construct(); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Setup hooks. |
||
35 | * This can be overridden by the child class. |
||
36 | * |
||
37 | * @since 5.5 |
||
38 | */ |
||
39 | protected function setup_hooks() { |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Getter for cron hook. |
||
44 | * |
||
45 | * @since 5.5 |
||
46 | * |
||
47 | * @return string Cron hook. |
||
48 | */ |
||
49 | public function get_cron_hook() { |
||
51 | } |
||
52 | |||
53 | /** |
||
54 | * Return reference to the module. |
||
55 | * |
||
56 | * @since 5.5 |
||
57 | * |
||
58 | * @return Module Reference to Module Object |
||
|
|||
59 | */ |
||
60 | public function get_module() { |
||
62 | } |
||
63 | } |
||
64 |
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