1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00
This commit is contained in:
Daniil Gentili 2023-10-22 20:22:01 +02:00
parent 8fadd1be85
commit e72fb5a2b3

View File

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