ggoffy /
wggithub
| 1 | <?php |
||
| 2 | |||
| 3 | namespace XoopsModules\Wggithub; |
||
| 4 | |||
| 5 | /* |
||
| 6 | You may not change or alter any portion of this comment or credits |
||
| 7 | of supporting developers from this source code or any supporting source code |
||
| 8 | which is considered copyrighted (c) material of the original comment or credit authors. |
||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, |
||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
||
| 13 | */ |
||
| 14 | |||
| 15 | /** |
||
| 16 | * wgGitHub module for xoops |
||
| 17 | * |
||
| 18 | * @copyright 2020 XOOPS Project (https://xooops.org) |
||
| 19 | * @license GPL 2.0 or later |
||
| 20 | * @package wggithub |
||
| 21 | * @since 1.0 |
||
| 22 | * @min_xoops 2.5.10 |
||
| 23 | * @author Goffy - XOOPS Development Team - Email:<[email protected]> - Website:<https://wedega.com> |
||
| 24 | */ |
||
| 25 | |||
| 26 | use XoopsModules\Wggithub; |
||
| 27 | |||
| 28 | \defined('XOOPS_ROOT_PATH') || die('Restricted access');
|
||
| 29 | |||
| 30 | /** |
||
| 31 | * Class Object Permissions |
||
| 32 | */ |
||
| 33 | class Permissions extends \XoopsObject |
||
|
0 ignored issues
–
show
|
|||
| 34 | {
|
||
| 35 | /** |
||
| 36 | * Constructor |
||
| 37 | * |
||
| 38 | * @param null |
||
| 39 | */ |
||
| 40 | public function __construct() |
||
| 41 | {
|
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @static function &getInstance |
||
| 46 | * |
||
| 47 | * @param null |
||
| 48 | */ |
||
| 49 | public static function getInstance() |
||
| 50 | {
|
||
| 51 | static $instance = false; |
||
| 52 | if (!$instance) {
|
||
| 53 | $instance = new self(); |
||
| 54 | } |
||
| 55 | } |
||
| 56 | } |
||
| 57 |
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