From 58b567a91d00edafb6fe1f9f95b8eb1c683cd45a Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Thu, 13 Jan 2022 14:44:24 -0500 Subject: [PATCH] Fix test --- tests/TryCatchTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/TryCatchTest.php b/tests/TryCatchTest.php index 5ee788042..899bc2370 100644 --- a/tests/TryCatchTest.php +++ b/tests/TryCatchTest.php @@ -110,9 +110,9 @@ class TryCatchTest extends TestCase if (!$foo) {}', 'assertions' => [], - 'error_message' => [ - 'UndefinedGlobalVariable' => Config::REPORT_INFO, - 'MixedMethodCall' => Config::REPORT_INFO, + 'ignored_issues' => [ + 'UndefinedGlobalVariable', + 'MixedMethodCall', ], ], 'issetAfterTryCatchWithoutAssignmentInCatch' => [