| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 22 | class Helper extends \Xoops\Module\Helper\HelperAbstract |
||
|
|
|||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Init the module |
||
| 26 | * |
||
| 27 | * @return null|void |
||
| 28 | */ |
||
| 29 | public function init() |
||
| 30 | { |
||
| 31 | $this->setDirname(basename(dirname(__DIR__))); |
||
| 32 | $this->loadLanguage('preferences'); |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed |
||
| 37 | */ |
||
| 38 | public function loadConfig() |
||
| 39 | { |
||
| 40 | return \XoopsModules\Xoositemap\Preferences::getInstance()->getConfig(); |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Get an Object Handler |
||
| 45 | * |
||
| 46 | * @param string $name name of handler to load |
||
| 47 | * |
||
| 48 | * @return bool|\XoopsObjectHandler|\XoopsPersistableObjectHandler |
||
| 49 | */ |
||
| 50 | public function getHandler($name) |
||
| 59 | } |
||
| 60 | } |
||
| 61 |
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