MPOS/php-mpos

View on GitHub

Showing 889 of 1,089 total issues

Avoid too many return statements within this method.
Open

                    return 'htmlentities('
                        . $params[0] .', ENT_QUOTES, '
                        . var_export($char_set, true) . ')';
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 htmlentities($string, ENT_QUOTES, $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 $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*24*7)) . " weeks 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 @date($format, $timestamp);
          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 substr($string, 0, $length / 2) . $etc . substr($string, - $length / 2);
            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 str_replace('%2F', '/', 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 $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 "1 minute 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 intval($difference / (60*60*24)) . " days 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 $content;
                      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 'htmlentities('
                                                . $params[0] .', ENT_QUOTES, '
                                                . var_export($char_set, true) . ', '
                                                . var_export($double_encode, true) . ')';
                        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 htmlentities($string, ENT_QUOTES, $char_set, $double_encode);
                          Severity: Major
                          Found in include/smarty/libs/plugins/modifier.escape.php - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return "";
                            Severity: Major
                            Found in public/site_assets/bootstrap/js/pwcheck.js - 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;
                                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 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 function.
                                    Open

                                        return "#C00";
                                    Severity: Major
                                    Found in public/site_assets/bootstrap/js/pwcheck.js - 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language