Passed
Branch master (f493ff)
by Michael
12:53
created

header.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * Module: WF-Links
4
 * Version: v1.0.3
5
 * Release Date: 21 June 2005
6
 * Developer: John N
7
 * Team: WF-Projects
8
 * Licence: GNU
9
 */
10
11
use XoopsModules\Wflinks;
12
13
$moduleDirName = basename(__DIR__);
14
15
require_once dirname(__DIR__, 2) . '/mainfile.php';
16
require XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/include/common.php';
17
//require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/WfThumbsNails.php';
18
require_once XOOPS_ROOT_PATH . '/class/pagenav.php';
19
//require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/xoopstree.php';
20
21
/** @var Wflinks\Helper $helper */
22
$helper = Wflinks\Helper::getInstance();
23
$helper->loadLanguage('main');
24
25
//require_once XOOPS_ROOT_PATH . '/modules/' . $moduleDirName . '/class/wfltextsanitizer.php';
26
$myts =\TextSanitizer::getInstance(); // MyTextSanitizer object
0 ignored issues
show
The type TextSanitizer 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. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
27
28
global $xoopModuleConfig;
29