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