MPOS/php-mpos

View on GitHub

Showing 889 of 1,089 total issues

Avoid too many return statements within this method.
Open

    return 'smarty_modifier_escape(' . join( ', ', $params ) . ')';
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 substr($string, 0, $length) . $etc;
    Severity: Major
    Found in include/smarty/libs/plugins/modifier.truncate.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return strtr($string, array('\\' => '\\\\', "'" => "\\'", '"' => '\\"', "\r" => '\\r', "\n" => '\\n', '</' => '<\/'));
      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;
        Severity: Major
        Found in include/smarty/libs/plugins/function.fetch.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

              return "1 day 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 "1 week 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 '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 $smarty_math_result;
                Severity: Major
                Found in include/smarty/libs/plugins/function.math.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return str_replace(array('@', '.'), array(' [AT] ', ' [DOT] '), $string);
                  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) . " minutes 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 'dirname($_smarty_tpl->source->filepath)';

                            Avoid too many return statements within this method.
                            Open

                                    return false;
                            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 $this->callTagCompiler('private_' . $plugin_type . '_plugin', $args, $parameter, $tag, $function);
                                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->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

                                    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 call_user_func_array($function, array($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($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