Total Complexity | 5 |
Total Lines | 52 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php namespace XoopsModules\Mymenus; |
||
26 | class Helper extends \Xmf\Module\Helper |
||
|
|||
27 | { |
||
28 | public $debug; |
||
29 | |||
30 | /** |
||
31 | * |
||
32 | * @param bool $debug |
||
33 | */ |
||
34 | public function __construct($debug = false) |
||
35 | { |
||
36 | $this->debug = $debug; |
||
37 | $moduleDirName = basename(dirname(__DIR__)); |
||
38 | parent::__construct($moduleDirName); |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @param bool $debug |
||
43 | * |
||
44 | * @return \Xmf\Module\Helper |
||
45 | */ |
||
46 | public static function getInstance($debug = false) |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getDirname() |
||
62 | } |
||
63 | |||
64 | /** |
||
65 | * Get an Object Handler |
||
66 | * |
||
67 | * @param string $name name of handler to load |
||
68 | * |
||
69 | * @return bool|\XoopsObjectHandler|\XoopsPersistableObjectHandler |
||
70 | */ |
||
71 | public function getHandler($name) |
||
81 |
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