modxcms/revolution

View on GitHub

Showing 7,873 of 7,873 total issues

Avoid too many return statements within this method.
Open

                    return $name . '(' . implode(',', $parameter) . ')';
Severity: Major
Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                            return "(defined({$_index[1]}) ? constant({$_index[1]}) : null)";

      Avoid too many return statements within this method.
      Open

                                  return call_user_func_array(
                                      $this->smarty->registered_plugins[ $plugin_type ][ $tag ][ 0 ],
                                      array(
                                          $new_args,
                                          $this
      Severity: Major
      Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                            return $this->callTagCompiler('private_registered_block', $args, $parameter, $tag);
        Severity: Major
        Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return "(defined('{$_index[1]}') ? constant('{$_index[1]}') : null)";

            Avoid too many return statements within this method.
            Open

                                return $this->callTagCompiler('private_registered_function', $args, $parameter, $tag);
            Severity: Major
            Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                      return "(is_array(\$tmp = \$_smarty_tpl->smarty->ext->configload->_getConfigVariable(\$_smarty_tpl, $_index[1])) ? \$tmp[$_index[2]] : null)";

                Avoid too many return statements within this method.
                Open

                                            return call_user_func_array(
                                                $this->default_handler_plugins[ $plugin_type ][ $tag ][ 0 ],
                                                array(
                                                    $new_args,
                                                    $this
                Severity: Major
                Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return $plugin($args, $this->smarty);
                  Severity: Major
                  Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return false;
                    Severity: Major
                    Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                                  return $plugin($new_args, $this->smarty);
                      Severity: Major
                      Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return 'preg_replace("%(?<!\\\\\\\\)\'%", "\\\'",' . $params[ 0 ] . ')';
                        Severity: Major
                        Found in core/model/smarty/plugins/modifiercompiler.escape.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                              return '$_smarty_tpl';

                            Avoid too many return statements within this method.
                            Open

                                        return;
                            Severity: Major
                            Found in core/model/smarty/plugins/function.mailto.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                                          return $this->callTagCompiler(
                                                              'private_registered_' . $plugin_type,
                                                              $args,
                                                              $parameter,
                                                              $tag
                              Severity: Major
                              Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return 'dirname($_smarty_tpl->source->filepath)';

                                  Avoid too many return statements within this method.
                                  Open

                                          return false;
                                  Severity: Major
                                  Found in core/model/smarty/sysplugins/smarty_internal_runtime_getincludepath.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                            return $this->callTagCompiler(
                                                                'private_object_block_function',
                                                                $args,
                                                                $parameter,
                                                                $tag,
                                    Severity: Major
                                    Found in core/model/smarty/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return "Smarty::SMARTY_VERSION";

                                        Avoid too many return statements within this method.
                                        Open

                                                    return preg_replace(
                                                        array("#^{$ldel}\\s*php\\s*(.)*?{$rdel}#", "#{$ldel}\\s*/\\s*php\\s*{$rdel}$#"),
                                                        array('<?php ', '?>'),
                                                        $_attr[ 'code' ]
                                                    );
                                        Severity: Major
                                        Found in core/model/smarty/sysplugins/smarty_internal_compile_private_php.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language