Passed
Pull Request — master (#1)
by
unknown
01:38
created

header.php (1 issue)

Labels
Severity
1
<?php
2
/**
3
 * ****************************************************************************
4
 *  GBOOK - MODULE FOR XOOPS
5
 *  Copyright (c) 2007 - 2012
6
 *  Ingo H. de Boer (http://www.winshell.org)
7
 *
8
 *  This program is free software; you can redistribute it and/or modify
9
 *  it under the terms of the GNU General Public License as published by
10
 *  the Free Software Foundation; either version 2 of the License, or
11
 *  (at your option) any later version.
12
 *
13
 *  You may not change or alter any portion of this comment or credits
14
 *  of supporting developers from this source code or any supporting
15
 *  source code which is considered copyrighted (c) material of the
16
 *  original comment or credit authors.
17
 *
18
 *  This program is distributed in the hope that it will be useful,
19
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 *  GNU General Public License for more details.
22
 *  ---------------------------------------------------------------------------
23
 *
24
 * @copyright       Ingo H. de Boer (http://www.winshell.org)
25
 * @license         GNU General Public License (GPL)
26
 * @package         GBook
27
 * @author          Ingo H. de Boer ([email protected])
28
 *
29
 * ****************************************************************************
30
 */
31
32
require_once __DIR__ . '/../../mainfile.php';
33
34
$GLOBALS['xoopsOption']['xoops_module_header'] = '<link rel="stylesheet" type="text/css" href="assets/css/gbook.css" >';
35
36
$pathIcon16 = \Xmf\Module\Admin::iconUrl('', 16);
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...
37
$pathIcon32 = \Xmf\Module\Admin::iconUrl('', 32);
38