xoops_module_uninstall_wfdownloads()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 2
rs 10
1
<?php
2
/*
3
 You may not change or alter any portion of this comment or credits
4
 of supporting developers from this source code or any supporting source code
5
 which is considered copyrighted (c) material of the original comment or credit authors.
6
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
12
/**
13
 * Wfdownloads module
14
 *
15
 * @copyright       XOOPS Project (https://xoops.org)
16
 * @license         GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html)
17
 * @package         wfdownload
18
 * @since           3.23
19
 * @author          Xoops Development Team
20
 */
21
defined('XOOPS_ROOT_PATH') || exit('XOOPS root path not defined');
22
require_once __DIR__ . '/common.php';
23
//@require_once WFDOWNLOADS_ROOT_PATH . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/admin.php';
24
xoops_loadLanguage('admin', $helper->getModule()->dirname());
25
26
/**
27
 * @param \XoopsModule $xoopsModule
28
 *
29
 * @return bool
30
 */
31
function xoops_module_pre_uninstall_wfdownloads(XoopsModule $xoopsModule)
0 ignored issues
show
Unused Code introduced by
The parameter $xoopsModule 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

31
function xoops_module_pre_uninstall_wfdownloads(/** @scrutinizer ignore-unused */ XoopsModule $xoopsModule)

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...
32
{
33
    // NOP
34
    return true;
35
}
36
37
/**
38
 * @param \XoopsModule $xoopsModule
39
 */
40
function xoops_module_uninstall_wfdownloads(XoopsModule $xoopsModule)
0 ignored issues
show
Unused Code introduced by
The parameter $xoopsModule 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

40
function xoops_module_uninstall_wfdownloads(/** @scrutinizer ignore-unused */ XoopsModule $xoopsModule)

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...
41
{
42
    // NOP
43
}
44