From e72fb5a2b31e606abd525f867696c5ba5bf7451b Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 22 Oct 2023 20:22:01 +0200 Subject: [PATCH] Fix --- tests/ReportOutputTest.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/ReportOutputTest.php b/tests/ReportOutputTest.php index c17370a81..bee44b19d 100644 --- a/tests/ReportOutputTest.php +++ b/tests/ReportOutputTest.php @@ -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, ],