MPOS/php-mpos

View on GitHub

Showing 889 of 1,089 total issues

Avoid too many return statements within this method.
Open

            return $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;
    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;
      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;
        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 rawurlencode($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 smarty_mb_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 'preg_replace("%(?<!\\\\\\\\)\'%", "\\\'",' . $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 'strtr(' . $params[0] . ', array("\\\\" => "\\\\\\\\", "\'" => "\\\\\'", "\"" => "\\\\\"", "\\r" => "\\\\r", "\\n" => "\\\n", "</" => "<\/" ))';
                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 $time;
                  Severity: Major
                  Found in include/smarty/libs/plugins/shared.make_timestamp.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                return preg_replace("%(?<!\\\\)'%", "\\'", $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*60*24*7*(52/12))) . " months 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;
                        Severity: Major
                        Found in include/smarty/libs/plugins/function.html_image.php - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                              return $string;
                          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 $params[0];
                            Severity: Major
                            Found in include/smarty/libs/plugins/modifiercompiler.unescape.php - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return mb_convert_encoding($string, 'HTML-ENTITIES', $char_set);
                              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 "1 hour 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 $prefix . '<img src="' . $path_prefix . $file . '" alt="' . $alt . '" width="' . $width . '" height="' . $height . '"' . $extra . ' />' . $suffix;
                                  Severity: Major
                                  Found in include/smarty/libs/plugins/function.html_image.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                return time();
                                    Severity: Major
                                    Found in include/smarty/libs/plugins/shared.make_timestamp.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return $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;
                                        Severity: Major
                                        Found in include/smarty/libs/plugins/function.html_image.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language