ImpressCMS/impresscms

View on GitHub
htdocs/include/common.php

Summary

Maintainability
A
0 mins
Test Coverage

Argument 2 (newvalue) is false but \ini_set() takes string
Open

        ini_set('zlib.output_compression', FALSE);
Severity: Minor
Found in htdocs/include/common.php by phan

Call to method setup from undeclared class \icms
Open

icms::setup();
Severity: Critical
Found in htdocs/include/common.php by phan

Call to method launchModule from undeclared class \icms
Open

icms::launchModule();
Severity: Critical
Found in htdocs/include/common.php by phan

Reference to static property user from undeclared class \icms
Open

    if (is_object(icms::$user)) {
Severity: Critical
Found in htdocs/include/common.php by phan

Call to method handler from undeclared class \icms
Open

        $online_handler = icms::handler('icms_core_Online');
Severity: Critical
Found in htdocs/include/common.php by phan

Variable $icmsConfigPersona is undeclared
Open

if ($icmsConfigPersona['multi_login']) {
Severity: Minor
Found in htdocs/include/common.php by phan

Call to method boot from undeclared class \icms
Open

icms::boot();
Severity: Critical
Found in htdocs/include/common.php by phan

Argument 2 (newvalue) is true but \ini_set() takes string
Open

    ini_set('zlib.output_compression', TRUE);
Severity: Minor
Found in htdocs/include/common.php by phan

Reference to static property preload from undeclared class \icms
Open

icms::$preload->triggerEvent('finishCoreBoot');
Severity: Critical
Found in htdocs/include/common.php by phan

Reference to static property user from undeclared class \icms
Open

        $online_handler->write(icms::$user->getVar('uid'), icms::$user->getVar('uname'), time(), 0, $_SERVER['REMOTE_ADDR']);
Severity: Critical
Found in htdocs/include/common.php by phan

Argument 2 (newvalue) is 6 but \ini_set() takes string
Open

        ini_set('zlib.output_compression_level', 6);
Severity: Minor
Found in htdocs/include/common.php by phan

TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE"
Open

    ini_set('zlib.output_compression', TRUE);
Severity: Minor
Found in htdocs/include/common.php by phpcodesniffer

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

if (isset($xoopsOption['pagetype']) && FALSE === strpos($xoopsOption['pagetype'], '.')) {
Severity: Minor
Found in htdocs/include/common.php by phpcodesniffer

TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE"
Open

        ini_set('zlib.output_compression', FALSE);
Severity: Minor
Found in htdocs/include/common.php by phpcodesniffer

Inline control structures are not allowed
Open

if (!isset($xoopsOption)) $xoopsOption = array();
Severity: Minor
Found in htdocs/include/common.php by phpcodesniffer

Expected 1 newline at end of file; 0 found
Open

icms::$preload->triggerEvent('finishCoreBoot');
Severity: Minor
Found in htdocs/include/common.php by phpcodesniffer

There are no issues that match your filters.

Category
Status