From 65c41e7543f584bf934ed6264d26d8deec680a90 Mon Sep 17 00:00:00 2001 From: orklah Date: Sat, 6 Nov 2021 20:00:31 +0100 Subject: [PATCH] don't consider calls to methods with assertions as Unused --- tests/UnusedCodeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/UnusedCodeTest.php b/tests/UnusedCodeTest.php index b9a373bb1..e7367ed41 100644 --- a/tests/UnusedCodeTest.php +++ b/tests/UnusedCodeTest.php @@ -1091,7 +1091,7 @@ class UnusedCodeTest extends TestCase } $a = new A(); - $a->getVal(null);', + echo $a->getVal(null);', ], ]; }