ImpressCMS/impresscms

View on GitHub
htdocs/modules/system/admin.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method handler from undeclared class \icms
Open

    $icmsModule = icms::handler('icms_module')->getByDirname('system');
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Reference to static property user from undeclared class \icms
Open

if (is_object(icms::$user)) {
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Reference to undeclared constant \_NOPERM
Open

        redirect_header(ICMS_URL . '/', 3, _NOPERM);
Severity: Minor
Found in htdocs/modules/system/admin.php by phan

Call to method checkVarArray from undeclared class \icms_core_DataFilter
Open

    $clean_POST = icms_core_DataFilter::checkVarArray($_POST, $filter_post, true);
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Reference to undeclared constant \_NOPERM
Open

    redirect_header(ICMS_URL . '/', 3, _NOPERM);
Severity: Minor
Found in htdocs/modules/system/admin.php by phan

Call to method checkVarArray from undeclared class \icms_core_DataFilter
Open

    $clean_GET = icms_core_DataFilter::checkVarArray($_GET, $filter_get, true);
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Call to method getDirList from undeclared class \icms_core_Filesystem
Open

$dirlist = icms_core_Filesystem::getDirList($admin_dir);
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Call to method getVar on non-class type null
Open

                if (in_array(ICMS_GROUP_ADMIN, $groups) || false !== $sysperm_handler->checkRight('system_admin', $category, $groups, $icmsModule->getVar('mid'))) {
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Reference to static property user from undeclared class \icms
Open

                $groups = &icms::$user->getGroups();
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Reference to static property user from undeclared class \icms
Open

    if (!icms::$user->isAdmin($icmsModule->getVar('mid'))) {
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Call to method handler from undeclared class \icms
Open

            $sysperm_handler = icms::handler('icms_member_groupperm');
Severity: Critical
Found in htdocs/modules/system/admin.php by phan

Inline control structures are not allowed
Open

    if (isset($_GET['filter_post'])) unset($_GET['filter_post']);

There are no issues that match your filters.

Category
Status