From dd6e64a94d01c03d40a491f713b2330dca345420 Mon Sep 17 00:00:00 2001 From: David Schach <636977+dschach@users.noreply.github.com> Date: Mon, 9 Sep 2024 10:10:46 -0700 Subject: [PATCH] fix(sarif): refer to existent $schema location --- docs/pages/pmd/userdocs/pmd_report_formats.md | 8 ++++---- docs/report-examples/pmd-report.sarif.json | 2 +- .../pmd/renderers/internal/sarif/SarifLog.java | 2 +- .../net/sourceforge/pmd/renderers/sarif/empty.sarif.json | 2 +- .../pmd/renderers/sarif/expected-configerror.sarif.json | 2 +- .../renderers/sarif/expected-error-nomessage.sarif.json | 2 +- .../pmd/renderers/sarif/expected-error.sarif.json | 2 +- .../sarif/expected-multiple-locations.sarif.json | 2 +- .../pmd/renderers/sarif/expected-multiple.sarif.json | 2 +- .../sourceforge/pmd/renderers/sarif/expected.sarif.json | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/pages/pmd/userdocs/pmd_report_formats.md b/docs/pages/pmd/userdocs/pmd_report_formats.md index 44c0512478..6bf9b6f99e 100644 --- a/docs/pages/pmd/userdocs/pmd_report_formats.md +++ b/docs/pages/pmd/userdocs/pmd_report_formats.md @@ -24,7 +24,7 @@ those can be specified with the `--property` / `-P` option on the command-line. "SARIF, the Static Analysis Results Interchange Format, is a standard, JSON-based format for the output of static analysis tools. It has been approved as an OASIS standard" - . -SARIF schema can be found here: . +SARIF schema can be found here: . PMD holds an initial implementation version of SARIF rendering. This means SARIF allows for more complexity and the current implementation can be extended. @@ -233,7 +233,7 @@ Was expecting one of: "implements" ... "{" ... "<" ... - + at net.sourceforge.pmd.lang.java.ast.JavaParser.generateParseException(JavaParser.java:12713) at net.sourceforge.pmd.lang.java.ast.JavaParser.jj_consume_token(JavaParser.java:12597) at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1554) @@ -313,7 +313,7 @@ Was expecting one of: "implements" ... "{" ... "<" ... - + at net.sourceforge.pmd.lang.java.ast.JavaParser.generateParseException(JavaParser.java:12713) at net.sourceforge.pmd.lang.java.ast.JavaParser.jj_consume_token(JavaParser.java:12597) at net.sourceforge.pmd.lang.java.ast.JavaParser.ClassOrInterfaceBody(JavaParser.java:1554) @@ -350,7 +350,7 @@ There are many other stylesheets available online: