Skip to content

Commit

Permalink
improve JetBrains IDE SARIF support
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jun 2, 2024
1 parent 0294324 commit ef55d76
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Internal/Analyzer/ProjectAnalyzer.php
Original file line number Diff line number Diff line change
Expand Up @@ -336,6 +336,7 @@ public static function getFileReportOptions(array $report_file_paths, bool $show
'summary.json' => Report::TYPE_JSON_SUMMARY,
'junit.xml' => Report::TYPE_JUNIT,
'.xml' => Report::TYPE_XML,
'.sarif.json' => Report::TYPE_SARIF, // must be place here to avoid JSON type detection
'.json' => Report::TYPE_JSON,
'.txt' => Report::TYPE_TEXT,
'.emacs' => Report::TYPE_EMACS,
Expand Down

0 comments on commit ef55d76

Please sign in to comment.