Issues (143)

admin/admin_footer.php (3 issues)

Labels
Severity
1
<?php
2
/**
3
 *
4
 * You may not change or alter any portion of this comment or credits
5
 * of supporting developers from this source code or any supporting source code
6
 * which is considered copyrighted (c) material of the original comment or credit authors.
7
 * This program is distributed in the hope that it will be useful,
8
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
 *
11
 * @copyright           XOOPS Project (https://xoops.org)
12
 * @license             http://www.gnu.org/licenses/gpl-2.0.html GNU Public License
13
 * @package             xdonations
14
 * @since               2.5.0
15
 * @author              Mamba (www.xoops.org)
16
 **/
17
$pathIcon32 = \Xmf\Module\Admin::iconUrl('', 32);
0 ignored issues
show
The type Xmf\Module\Admin 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...
18
echo "<div class='adminfooter'>\n" . "  <div style='text-align: center;'>\n" . "    <a href='https://xoops.org' rel='external'><img src='{$pathIcon32}/xoopsmicrobutton.gif' alt='XOOPS' title='XOOPS'></a>\n" . "  </div>\n" . '  ' . _AM_MODULEADMIN_ADMIN_FOOTER . "\n" . '</div>';
0 ignored issues
show
The constant _AM_MODULEADMIN_ADMIN_FOOTER was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
19
20
xoops_cp_footer();
0 ignored issues
show
The function xoops_cp_footer was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

20
/** @scrutinizer ignore-call */ 
21
xoops_cp_footer();
Loading history...
21