Skip to content

Commit 901138a

Browse files
Remove dead code
1 parent dd09160 commit 901138a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Framework/TestResult.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ final class TestResult implements Countable
9999
*/
100100
private $time = 0;
101101

102-
/**
103-
* @var TestSuite
104-
*/
105-
private $topTestSuite;
106-
107102
/**
108103
* Code Coverage information.
109104
*
@@ -401,10 +396,6 @@ public function startTestSuite(TestSuite $suite): void
401396
{
402397
$this->currentTestSuiteFailed = false;
403398

404-
if ($this->topTestSuite === null) {
405-
$this->topTestSuite = $suite;
406-
}
407-
408399
foreach ($this->listeners as $listener) {
409400
$listener->startTestSuite($suite);
410401
}
@@ -618,14 +609,6 @@ public function passedClasses(): array
618609
return $this->passedTestClasses;
619610
}
620611

621-
/**
622-
* Returns the (top) test suite.
623-
*/
624-
public function topTestSuite(): TestSuite
625-
{
626-
return $this->topTestSuite;
627-
}
628-
629612
/**
630613
* Returns whether code coverage information should be collected.
631614
*/

0 commit comments

Comments
 (0)