modxcms/revolution

View on GitHub

Showing 7,873 of 7,873 total issues

Avoid too many return statements within this method.
Open

    return 'smarty_modifier_escape(' . join(', ', $params) . ')';
Severity: Major
Found in core/model/smarty/plugins/modifiercompiler.escape.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return smarty_mb_str_replace(
                        array(
                            '@',
                            '.'
                        ),
    Severity: Major
    Found in core/model/smarty/plugins/modifier.escape.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                                  return;
      Severity: Major
      Found in core/model/smarty/plugins/function.fetch.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                return $content;
        Severity: Major
        Found in core/model/smarty/plugins/function.fetch.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return 'strtr(' .
                                 $params[ 0 ] .
                                 ', array("\\\\" => "\\\\\\\\", "\'" => "\\\\\'", "\"" => "\\\\\"", "\\r" => "\\\\r", 
                                 "\\n" => "\\\n", "</" => "<\/", "<!--" => "<\!--", "<s" => "<\s", "<S" => "<\S",
                                 "`" => "\\\\`", "\${" => "\\\\\\$\\{"))';
          Severity: Major
          Found in core/model/smarty/plugins/modifiercompiler.escape.php - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                    return "'$value'";
            Severity: Major
            Found in core/model/aws/lib/yaml/lib/sfYamlInline.php - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                      return $data;
              Severity: Major
              Found in core/model/aws/sdk.class.php - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                    return false;
                Severity: Major
                Found in core/model/aws/utilities/gzipdecode.class.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return '0x' == $scalar[0].$scalar[1] ? hexdec($scalar) : floatval($scalar);
                  Severity: Major
                  Found in core/model/aws/lib/yaml/lib/sfYamlInline.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return floatval(str_replace(',', '', $scalar));
                    Severity: Major
                    Found in core/model/aws/lib/yaml/lib/sfYamlInline.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                  return str_replace(
                                      array(
                                          '@',
                                          '.'
                                      ),
                      Severity: Major
                      Found in core/model/smarty/plugins/modifier.escape.php - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                return "'$value'";
                        Severity: Major
                        Found in core/model/aws/lib/yaml/lib/sfYamlInline.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 core/model/smarty/plugins/modifier.truncate.php - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

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

                              Avoid too many return statements within this method.
                              Open

                                          return rawurlencode($string);
                              Severity: Major
                              Found in core/model/smarty/plugins/modifier.escape.php - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

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

                                  Avoid too many return statements within this method.
                                  Open

                                                              return;
                                  Severity: Major
                                  Found in core/model/smarty/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) . ')';
                                    Severity: Major
                                    Found in core/model/smarty/plugins/modifiercompiler.escape.php - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                                          return false;
                                      Severity: Major
                                      Found in core/model/aws/utilities/gzipdecode.class.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $data;
                                        Severity: Major
                                        Found in core/model/aws/services/cloudfront.class.php - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language