Total Complexity | 10 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | abstract class BaseWorkflow implements Workflow |
||
|
|||
6 | { |
||
7 | private static $instance = null; |
||
8 | private $scriptFilter = null; |
||
9 | |||
10 | |||
11 | final protected function __construct() |
||
12 | { |
||
13 | $this->scriptFilter = ScriptFilter::create(); |
||
14 | } |
||
15 | |||
16 | final public static function getInstance() |
||
17 | { |
||
18 | if (is_null(self::$instance)) { |
||
19 | self::$instance = new self; |
||
20 | } |
||
21 | |||
22 | return self::$instance; |
||
23 | } |
||
24 | |||
25 | public static function currentMenu() |
||
30 | } |
||
31 | |||
32 | private static function getCurrentMenuClass() |
||
37 | } |
||
38 | |||
39 | private static function getMenuClassName($action) |
||
40 | { |
||
41 | return str_replace('_', '', ucwords($action === false ? 'entrance' : $action, '_')); |
||
42 | } |
||
43 | |||
44 | final public static function destroy() |
||
45 | { |
||
46 | ScriptFilter::destroy(); |
||
47 | |||
48 | self::$instance = null; |
||
49 | } |
||
50 | |||
51 | final private function __clone() |
||
53 | } |
||
54 | |||
55 | abstract public static function do(); |
||
56 | |||
57 | abstract public static function notify($result = false); |
||
58 | } |
||
59 |
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