1 | <?php |
||
2 | |||
3 | namespace XoopsModules\Wgsitenotice; |
||
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 | * wgSitenotice module for xoops |
||
16 | * |
||
17 | * @copyright XOOPS Project (https://xoops.org) |
||
18 | * @license GPL 2.0 or later |
||
19 | * @package wgsitenotice |
||
20 | * @since 1.0 |
||
21 | * @min_xoops 2.5.11 |
||
22 | * @author Goffy (xoops.wedega.com) - Email:<[email protected]> - Website:<https://xoops.wedega.com> |
||
23 | */ |
||
24 | |||
25 | \defined('XOOPS_ROOT_PATH') || exit('Restricted access'); |
||
26 | |||
27 | /* |
||
28 | * Class Object Handler Versions |
||
29 | */ |
||
30 | class VersionsHandler extends \XoopsPersistableObjectHandler |
||
0 ignored issues
–
show
|
|||
31 | { |
||
32 | /** |
||
33 | * Constructor |
||
34 | * |
||
35 | * @param \XoopsDatabase $db |
||
36 | */ |
||
37 | public function __construct(\XoopsDatabase $db) |
||
0 ignored issues
–
show
The type
XoopsDatabase was not found. Maybe you did not declare it correctly or list all dependencies?
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. filter:
dependency_paths: ["lib/*"]
For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths ![]() |
|||
38 | { |
||
39 | parent::__construct($db, 'wgsitenotice_versions', Versions::class, 'version_id', 'version_name'); |
||
40 | } |
||
41 | } |
||
42 |
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