Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 21, 2023
1 parent 46ae91e commit 17b70c5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/ReportOutputTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ public function testJsonReport(): void

$issue_data = [
[
'link' => 'https://psalm.dev/024',
'severity' => 'error',
'line_from' => 3,
'line_to' => 3,
Expand All @@ -727,13 +728,13 @@ public function testJsonReport(): void
'snippet_to' => 83,
'column_from' => 10,
'column_to' => 26,
'error_level' => -1,
'shortcode' => 24,
'link' => 'https://psalm.dev/024',
'error_level' => -1,
'taint_trace' => null,
'other_references' => null,
],
[
'link' => 'https://psalm.dev/138',
'severity' => 'error',
'line_from' => 3,
'line_to' => 3,
Expand All @@ -749,13 +750,13 @@ public function testJsonReport(): void
'snippet_to' => 83,
'column_from' => 10,
'column_to' => 26,
'error_level' => 1,
'shortcode' => 138,
'link' => 'https://psalm.dev/138',
'error_level' => 1,
'taint_trace' => null,
'other_references' => null,
],
[
'link' => 'https://psalm.dev/047',
'severity' => 'error',
'line_from' => 2,
'line_to' => 2,
Expand All @@ -771,13 +772,13 @@ public function testJsonReport(): void
'snippet_to' => 56,
'column_from' => 42,
'column_to' => 49,
'error_level' => 1,
'shortcode' => 47,
'link' => 'https://psalm.dev/047',
'error_level' => 1,
'taint_trace' => null,
'other_references' => null,
],
[
'link' => 'https://psalm.dev/020',
'severity' => 'error',
'line_from' => 8,
'line_to' => 8,
Expand All @@ -793,13 +794,13 @@ public function testJsonReport(): void
'snippet_to' => 172,
'column_from' => 6,
'column_to' => 15,
'error_level' => -1,
'shortcode' => 20,
'link' => 'https://psalm.dev/020',
'error_level' => -1,
'taint_trace' => null,
'other_references' => null,
],
[
'link' => 'https://psalm.dev/126',
'severity' => 'info',
'line_from' => 17,
'line_to' => 17,
Expand All @@ -815,9 +816,8 @@ public function testJsonReport(): void
'snippet_to' => 277,
'column_from' => 6,
'column_to' => 8,
'error_level' => 3,
'shortcode' => 126,
'link' => 'https://psalm.dev/126',
'error_level' => 3,
'taint_trace' => null,
'other_references' => null,
],
Expand Down

0 comments on commit 17b70c5

Please sign in to comment.