ImpressCMS/impresscms

View on GitHub
htdocs/install/page_tablescreate.php

Summary

Maintainability
A
0 mins
Test Coverage

Call to method chmod from undeclared class \icms_core_Filesystem
Open

    icms_core_Filesystem::chmod(XOOPS_ROOT_PATH.'/modules', 0777);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Variable $wizard is undeclared
Open

    $wizard->redirectToPage( '-3' );
Severity: Minor
Found in htdocs/install/page_tablescreate.php by phan

Variable $wizard is undeclared
Open

        $wizard->redirectToPage( '+1' );
Severity: Minor
Found in htdocs/install/page_tablescreate.php by phan

Call to method chmod from undeclared class \icms_core_Filesystem
Open

    icms_core_Filesystem::chmod(XOOPS_TRUST_PATH, 0777);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method chmod from undeclared class \icms_core_Filesystem
Open

    icms_core_Filesystem::chmod("/modules/protector/trust_path/modules", 0777);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method copyRecursive from undeclared class \icms_core_Filesystem
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/root/modules/protector',XOOPS_ROOT_PATH.'/modules/protector');
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method chmod from undeclared class \icms_core_Filesystem
Open

icms_core_Filesystem::chmod("../mainfile.php", 0444);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method chmod from undeclared class \icms_core_Filesystem
Open

    icms_core_Filesystem::chmod("/modules/protector/root/modules/protector", 0777);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Variable $wizard is undeclared
Open

$wizard->setPage( 'tablescreate' );
Severity: Minor
Found in htdocs/install/page_tablescreate.php by phan

Call to method copyRecursive from undeclared class \icms_core_Filesystem
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/trust_path/modules/protector',XOOPS_TRUST_PATH.'/modules/protector');
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method chmod from undeclared class \icms_core_Filesystem
Open

    icms_core_Filesystem::chmod(XOOPS_ROOT_PATH.'/modules', 0755);
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Call to method copyRecursive from undeclared class \icms_core_Filesystem
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/trust_path/modules',XOOPS_TRUST_PATH.'/modules');
Severity: Critical
Found in htdocs/install/page_tablescreate.php by phan

Expected 0 spaces before closing bracket; 1 found
Open

if (!defined( 'XOOPS_INSTALL' ) )    exit();

Inline control structures are not allowed
Open

if (!defined( 'XOOPS_INSTALL' ) )    exit();

Expected 0 spaces before closing bracket; 1 found
Open

if (!defined( 'XOOPS_INSTALL' ) )    exit();

Space after opening parenthesis of function call prohibited
Open

    $wizard->redirectToPage( '-3' );

Space after opening parenthesis of function call prohibited
Open

if (!$dbm->tableExists( 'users' )) {

Space after opening parenthesis of function call prohibited
Open

        $wizard->redirectToPage( '+1' );

Space after opening parenthesis of function call prohibited
Open

    $result = $dbm->queryFromFile( './sql/' . $driver . '.structure.sql' );

No space found after comma in function call
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/trust_path/modules',XOOPS_TRUST_PATH.'/modules');

Expected 0 spaces before closing bracket; 1 found
Open

    $result = $dbm->queryFromFile( './sql/' . $driver . '.structure.sql' );

No space found after comma in function call
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/root/modules/protector',XOOPS_ROOT_PATH.'/modules/protector');

No space found after comma in function call
Open

        icms_core_Filesystem::copyRecursive(XOOPS_ROOT_PATH.'/install/modules/protector/trust_path/modules/protector',XOOPS_TRUST_PATH.'/modules/protector');

Space after opening parenthesis of function call prohibited
Open

$wizard->setPage( 'tablescreate' );

Expected 0 spaces before closing bracket; 1 found
Open

        $wizard->redirectToPage( '+1' );

Space after opening parenthesis of function call prohibited
Open

    if (empty( $process )) {

Expected 0 spaces before closing bracket; 1 found
Open

    $wizard->redirectToPage( '-3' );

Expected 0 spaces before closing bracket; 1 found
Open

    if (empty( $process )) {

Space after opening parenthesis of function call prohibited
Open

if (!defined( 'XOOPS_INSTALL' ) )    exit();

Expected 0 spaces before closing bracket; 1 found
Open

$wizard->setPage( 'tablescreate' );

Expected 0 spaces before closing bracket; 1 found
Open

if (!$dbm->tableExists( 'users' )) {

Unexpected trailing spaces found.
Open

    

There are no issues that match your filters.

Category
Status