MPOS/php-mpos

View on GitHub

Showing 1,089 of 1,089 total issues

Avoid too many return statements within this method.
Open

                return false;
Severity: Major
Found in include/smarty/libs/sysplugins/smarty_internal_templatebase.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                                    return $function($new_args, $this);
    Severity: Major
    Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                              return call_user_func_array($function, array($args, $this));
      Severity: Major
      Found in include/smarty/libs/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 include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return $this->trigger_template_error('unallowed closing tag methode "' . $methode . '" in registered object "' . $base_tag . '"', $this->lex->taglineno);
          Severity: Major
          Found in include/smarty/libs/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 include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                                      return $this->trigger_template_error('unallowed methode "' . $methode . '" in registered object "' . $tag . '"', $this->lex->taglineno);
              Severity: Major
              Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.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 include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                                          return $file;
                  Severity: Major
                  Found in include/smarty/libs/Smarty.class.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                                    return $plugin_object->compile($args, $this);
                    Severity: Major
                    Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $this->smarty->$property_name = $args[0];
                      Severity: Major
                      Found in include/smarty/libs/sysplugins/smarty_internal_templatebase.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                                        return $this->smarty->registered_plugins[$plugin_type][$tag][0][0]->$function[1]($new_args, $this);
                        Severity: Major
                        Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.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, $methode);
                          Severity: Major
                          Found in include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                                return "\$_smarty_tpl->getConfigVariable($_index[1])";

                              Avoid too many return statements within this method.
                              Open

                                                          return $plugin_object->compile($args, $this);
                              Severity: Major
                              Found in include/smarty/libs/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->getConfigVariable($_index[1])) ? \$tmp[$_index[2]] : null)";

                                  Avoid too many return statements within this method.
                                  Open

                                                  return '$_smarty_tpl';

                                    Avoid too many return statements within this method.
                                    Open

                                                    return "'$_version'";

                                      Avoid too many return statements within this method.
                                      Open

                                                      return "@constant({$_index[1]})";

                                        Avoid too many return statements within this method.
                                        Open

                                                        return "'$_rdelim'";
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language