From 5ad4bcfbaa214627d90b3ebe321be4cbdbbda02f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 28 Mar 2024 10:52:14 +0100 Subject: [PATCH] Delete dead code --- src/Event/Value/TestSuite/TestSuiteBuilder.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Event/Value/TestSuite/TestSuiteBuilder.php b/src/Event/Value/TestSuite/TestSuiteBuilder.php index 1687d5aa041..4b22be0f903 100644 --- a/src/Event/Value/TestSuite/TestSuiteBuilder.php +++ b/src/Event/Value/TestSuite/TestSuiteBuilder.php @@ -31,18 +31,6 @@ final class TestSuiteBuilder */ public static function from(FrameworkTestSuite $testSuite): TestSuite { - $groups = []; - - foreach ($testSuite->groupDetails() as $groupName => $tests) { - if (!isset($groups[$groupName])) { - $groups[$groupName] = []; - } - - foreach ($tests as $test) { - $groups[$groupName][] = $test::class; - } - } - $tests = []; self::process($testSuite, $tests);