e107inc/e107

View on GitHub
e107_plugins/pm/pm_conf.php

Summary

Maintainability
A
0 mins
Test Coverage
F
19%

Variable $limitList was undeclared, but array fields are being added to it.
Open

            $limitList[$row['limit_classnum']] = $row;
Severity: Info
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (replace) is false|int but \str_replace() takes array|string
Open

            $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $res, ADLAN_PM_69);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (replace) is false|int but \str_replace() takes array|string
Open

            $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $res, ADLAN_PM_68);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Variable $var was undeclared, but array fields are being added to it.
Open

    $var['main']['text'] = ADLAN_PM_54;
Severity: Info
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (replace) is 0 but \str_replace() takes array|string
Open

        $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $cnt, ADLAN_PM_75);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_attach', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Reference to undeclared property \db->sql
Open

            $results[E_MESSAGE_ERROR][$start] = str_replace(array('[y]', '[z]'), array($db2->sql->getLastErrorNum, $db2->sql->getLastErrorText), ADLAN_PM_70);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Reference to undeclared property \db->sql
Open

            $results[E_MESSAGE_ERROR][$start] = str_replace(array('[y]', '[z]'), array($db2->sql->getLastErrorNum, $db2->sql->getLastErrorText), ADLAN_PM_70);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_sent', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Call to deprecated function \show_admin_menu() defined at /code/e107_admin/boot.php:354
Open

    show_admin_menu(ADLAN_PM_12, $action, $var);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (replace) is 0 but \str_replace() takes array|string
Open

            $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $cnt, ADLAN_PM_73);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (replace) is 0 but \str_replace() takes array|string
Open

        $results[E_MESSAGE_SUCCESS][$start] = str_replace('[x]', $cnt, ADLAN_PM_74);
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

if (!e107::isInstalled('pm') || !getperms('P'))
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Variable $limitList was undeclared, but array fields are being added to it.
Open

            $limitList[$row['limit_classnum']] = $row;
Severity: Info
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_rec', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

        <td>".$frm->radio_switch('pm_maint_blocked', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

Argument 2 (checked_enabled) is '' but \e_form::radio_switch() takes bool|false defined at /code/e107_handlers/form_handler.php:3024
Open

            <td>".$frm->radio_switch('pm_maint_expired', '', LAN_YES, LAN_NO)."</td>
Severity: Minor
Found in e107_plugins/pm/pm_conf.php by phan

There are no issues that match your filters.

Category
Status