MPOS/php-mpos

View on GitHub

Showing 1,089 of 1,089 total issues

Avoid too many return statements within this method.
Open

                return $return;
Severity: Major
Found in include/smarty/libs/plugins/modifier.escape.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                return $return;
    Severity: Major
    Found in include/smarty/libs/plugins/modifier.escape.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return $return;
      Severity: Major
      Found in include/smarty/libs/plugins/modifier.escape.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

            return intval($difference / (60*60)) . " hours ago"; 
        Severity: Major
        Found in include/smarty/libs/plugins/modifier.relative_date.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return 'str_replace("%2F", "/", rawurlencode(' . $params[0] . '))';
          Severity: Major
          Found in include/smarty/libs/plugins/modifiercompiler.escape.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 "'$_ldelim'";

                Avoid too many return statements within this method.
                Open

                                return '$_smarty_tpl';

                  Avoid too many return statements within this method.
                  Open

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

                    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 "'$_rdelim'";

                        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 $compiled_ref;

                            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 '<a href="mailto:' . $address . '" ' . $extra . '>' . $text . '</a>';
                              Severity: Major
                              Found in include/smarty/libs/plugins/function.mailto.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 $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 $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->default_handler_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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language