mambax7/extgallery

View on GitHub
admin/upgrade.php

Summary

Maintainability
A
0 mins
Test Coverage

The CASE body must start on the line following the statement
Open

    case 'install':
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

The CASE body must start on the line following the statement
Open

    case 'download':
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

The CASE body must start on the line following the statement
Open

    case 'default':
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

Line exceeds 120 characters; contains 160 characters
Open

            PclTarExtract(XOOPS_ROOT_PATH . '/uploads/' . $langFileName, XOOPS_ROOT_PATH . '/modules/' . $localModuleDir . '/', 'modules/' . $moduleName . '/');
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

Line exceeds 120 characters; contains 158 characters
Open

        PclTarExtract(XOOPS_ROOT_PATH . '/uploads/' . $moduleFileName, XOOPS_ROOT_PATH . '/modules/' . $localModuleDir . '/', 'modules/' . $moduleName . '/');
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

Line exceeds 120 characters; contains 193 characters
Open

        xoops_confirm(['dirname' => $localModuleDir, 'op' => 'update_ok', 'fct' => 'modulesadmin'], XOOPS_URL . '/modules/system/admin.php', _AM_EXTGALLERY_INSTALL_DONE, _AM_EXTGALLERY_UPDATE);
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

There are no issues that match your filters.

Category
Status