MPOS/php-mpos

View on GitHub

Showing 1,089 of 1,089 total issues

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

                              Avoid too many return statements within this method.
                              Open

                                      return $compiled_ref;

                                Avoid too many return statements within this method.
                                Open

                                            return;
                                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 '<a href="' . $mailto . $address_encode . '" ' . $extra . '>' . $text_encode . '</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 'basename($_smarty_tpl->source->filepath)';

                                      Avoid too many return statements within this method.
                                      Open

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