Skip to content

Commit

Permalink
Link to SARIF JSON schema
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed May 4, 2021
1 parent 27ea40e commit e4355e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Psalm/Report/SarifReport.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public function create(): string
{
$report = [
'version' => '2.1.0',
'$schema' => 'https://json.schemastore.org/sarif-2.1.0.json',
'runs' => [
[
'tool' => [
Expand Down
1 change: 1 addition & 0 deletions tests/ReportOutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ public function testSarifReport(): void

$issue_data = [
'version' => '2.1.0',
'$schema' => 'https://json.schemastore.org/sarif-2.1.0.json',
'runs' => [
[
'tool' => [
Expand Down

0 comments on commit e4355e8

Please sign in to comment.