RssfitCorePreload::eventCoreIncludeCommonEnd()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
declare(strict_types=1);
4
/*
5
 You may not change or alter any portion of this comment or credits
6
 of supporting developers from this source code or any supporting source code
7
 which is considered copyrighted (c) material of the original comment or credit authors.
8
9
 This program is distributed in the hope that it will be useful,
10
 but WITHOUT ANY WARRANTY; without even the implied warranty of
11
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
*/
13
/**
14
 * @copyright       XOOPS Project (https://xoops.org)
15
 * @license         GNU GPL 2 (https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)
16
 * @author          XOOPS Project <www.xoops.org> <www.xoops.ir>
17
 */
18
defined('XOOPS_ROOT_PATH') || die('Restricted access');
19
20
/**
21
 * Class RssCorePreload
22
 */
23
class RssfitCorePreload extends \XoopsPreloadItem
24
{
25
    // to add PSR-4 autoloader
26
    public static function eventCoreIncludeCommonEnd(?array $args): void
0 ignored issues
show
Unused Code introduced by
The parameter $args is not used and could be removed. ( Ignorable by Annotation )

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

26
    public static function eventCoreIncludeCommonEnd(/** @scrutinizer ignore-unused */ ?array $args): void

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
27
    {
28
        require_once __DIR__ . '/autoloader.php';
29
    }
30
}
31