modxcms/revolution

View on GitHub
core/model/smarty/plugins/modifiercompiler.unescape.php

Summary

Maintainability
A
1 hr
Test Coverage

Method smarty_modifiercompiler_unescape has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function smarty_modifiercompiler_unescape($params, Smarty_Internal_TemplateCompilerBase $compiler)
{
    $compiler->template->_checkPlugins(
        array(
            array(
Severity: Minor
Found in core/model/smarty/plugins/modifiercompiler.unescape.php - About 1 hr to fix

    Avoid too many return statements within this method.
    Open

                return $params[ 0 ];
    Severity: Major
    Found in core/model/smarty/plugins/modifiercompiler.unescape.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status