1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix tests to add new property

This commit is contained in:
Matthew Brown 2020-02-17 16:43:50 -05:00
parent 99a97f4085
commit 6a4e7931e6
2 changed files with 9 additions and 0 deletions

View File

@ -114,6 +114,7 @@ echo $a;';
'snippet_to' => 83,
'column_from' => 10,
'column_to' => 17,
'error_level' => -1,
],
[
'severity' => 'error',
@ -131,6 +132,7 @@ echo $a;';
'snippet_to' => 56,
'column_from' => 29,
'column_to' => 39,
'error_level' => -2,
],
[
'severity' => 'error',
@ -148,6 +150,7 @@ echo $a;';
'snippet_to' => 56,
'column_from' => 42,
'column_to' => 49,
'error_level' => 1,
],
[
'severity' => 'error',
@ -165,6 +168,7 @@ echo $a;';
'snippet_to' => 135,
'column_from' => 6,
'column_to' => 15,
'error_level' => -1,
],
[
'severity' => 'error',
@ -182,6 +186,7 @@ echo $a;';
'snippet_to' => 203,
'column_from' => 6,
'column_to' => 8,
'error_level' => 3,
],
],
\array_map(

View File

@ -123,6 +123,7 @@ echo $a;';
'snippet_to' => 83,
'column_from' => 10,
'column_to' => 17,
'error_level' => -1,
],
[
'severity' => 'error',
@ -140,6 +141,7 @@ echo $a;';
'snippet_to' => 56,
'column_from' => 42,
'column_to' => 49,
'error_level' => 1,
],
[
'severity' => 'error',
@ -157,6 +159,7 @@ echo $a;';
'snippet_to' => 135,
'column_from' => 6,
'column_to' => 15,
'error_level' => -1,
],
[
'severity' => 'info',
@ -174,6 +177,7 @@ echo $a;';
'snippet_to' => 203,
'column_from' => 6,
'column_to' => 8,
'error_level' => 3,
],
];