mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix
This commit is contained in:
parent
8fadd1be85
commit
e72fb5a2b3
@ -712,7 +712,6 @@ class ReportOutputTest extends TestCase
|
|||||||
|
|
||||||
$issue_data = [
|
$issue_data = [
|
||||||
[
|
[
|
||||||
'link' => 'https://psalm.dev/024',
|
|
||||||
'severity' => 'error',
|
'severity' => 'error',
|
||||||
'line_from' => 3,
|
'line_from' => 3,
|
||||||
'line_to' => 3,
|
'line_to' => 3,
|
||||||
@ -728,13 +727,13 @@ class ReportOutputTest extends TestCase
|
|||||||
'snippet_to' => 83,
|
'snippet_to' => 83,
|
||||||
'column_from' => 10,
|
'column_from' => 10,
|
||||||
'column_to' => 26,
|
'column_to' => 26,
|
||||||
'shortcode' => 24,
|
|
||||||
'error_level' => -1,
|
'error_level' => -1,
|
||||||
|
'shortcode' => 24,
|
||||||
|
'link' => 'https://psalm.dev/024',
|
||||||
'taint_trace' => null,
|
'taint_trace' => null,
|
||||||
'other_references' => null,
|
'other_references' => null,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'link' => 'https://psalm.dev/138',
|
|
||||||
'severity' => 'error',
|
'severity' => 'error',
|
||||||
'line_from' => 3,
|
'line_from' => 3,
|
||||||
'line_to' => 3,
|
'line_to' => 3,
|
||||||
@ -750,13 +749,13 @@ class ReportOutputTest extends TestCase
|
|||||||
'snippet_to' => 83,
|
'snippet_to' => 83,
|
||||||
'column_from' => 10,
|
'column_from' => 10,
|
||||||
'column_to' => 26,
|
'column_to' => 26,
|
||||||
'shortcode' => 138,
|
|
||||||
'error_level' => 1,
|
'error_level' => 1,
|
||||||
|
'shortcode' => 138,
|
||||||
|
'link' => 'https://psalm.dev/138',
|
||||||
'taint_trace' => null,
|
'taint_trace' => null,
|
||||||
'other_references' => null,
|
'other_references' => null,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'link' => 'https://psalm.dev/047',
|
|
||||||
'severity' => 'error',
|
'severity' => 'error',
|
||||||
'line_from' => 2,
|
'line_from' => 2,
|
||||||
'line_to' => 2,
|
'line_to' => 2,
|
||||||
@ -772,13 +771,13 @@ class ReportOutputTest extends TestCase
|
|||||||
'snippet_to' => 56,
|
'snippet_to' => 56,
|
||||||
'column_from' => 42,
|
'column_from' => 42,
|
||||||
'column_to' => 49,
|
'column_to' => 49,
|
||||||
'shortcode' => 47,
|
|
||||||
'error_level' => 1,
|
'error_level' => 1,
|
||||||
|
'shortcode' => 47,
|
||||||
|
'link' => 'https://psalm.dev/047',
|
||||||
'taint_trace' => null,
|
'taint_trace' => null,
|
||||||
'other_references' => null,
|
'other_references' => null,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'link' => 'https://psalm.dev/020',
|
|
||||||
'severity' => 'error',
|
'severity' => 'error',
|
||||||
'line_from' => 8,
|
'line_from' => 8,
|
||||||
'line_to' => 8,
|
'line_to' => 8,
|
||||||
@ -794,13 +793,13 @@ class ReportOutputTest extends TestCase
|
|||||||
'snippet_to' => 172,
|
'snippet_to' => 172,
|
||||||
'column_from' => 6,
|
'column_from' => 6,
|
||||||
'column_to' => 15,
|
'column_to' => 15,
|
||||||
'shortcode' => 20,
|
|
||||||
'error_level' => -1,
|
'error_level' => -1,
|
||||||
|
'shortcode' => 20,
|
||||||
|
'link' => 'https://psalm.dev/020',
|
||||||
'taint_trace' => null,
|
'taint_trace' => null,
|
||||||
'other_references' => null,
|
'other_references' => null,
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'link' => 'https://psalm.dev/126',
|
|
||||||
'severity' => 'info',
|
'severity' => 'info',
|
||||||
'line_from' => 17,
|
'line_from' => 17,
|
||||||
'line_to' => 17,
|
'line_to' => 17,
|
||||||
@ -816,8 +815,9 @@ class ReportOutputTest extends TestCase
|
|||||||
'snippet_to' => 277,
|
'snippet_to' => 277,
|
||||||
'column_from' => 6,
|
'column_from' => 6,
|
||||||
'column_to' => 8,
|
'column_to' => 8,
|
||||||
'shortcode' => 126,
|
|
||||||
'error_level' => 3,
|
'error_level' => 3,
|
||||||
|
'shortcode' => 126,
|
||||||
|
'link' => 'https://psalm.dev/126',
|
||||||
'taint_trace' => null,
|
'taint_trace' => null,
|
||||||
'other_references' => null,
|
'other_references' => null,
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user