From 6e8bd2b207f27fb818104c2b86d507dad1b4849b Mon Sep 17 00:00:00 2001 From: orklah Date: Fri, 5 Nov 2021 18:18:34 +0100 Subject: [PATCH] allow declaring functions and classLikes after a never-returning call --- tests/UnusedCodeTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/UnusedCodeTest.php b/tests/UnusedCodeTest.php index 51daf56f0..8c6f78f6f 100644 --- a/tests/UnusedCodeTest.php +++ b/tests/UnusedCodeTest.php @@ -1058,7 +1058,8 @@ class UnusedCodeTest extends TestCase ], 'notUnevaluatedFunction' => [ '