Skip to content

Commit c216b32

Browse files
committed
[4.3] Remove unused local variables
1 parent a7fd9e7 commit c216b32

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Legacy/SymfonyTestsListenerTrait.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,11 @@ public function endTest($test, $time)
257257
if (class_exists('PHPUnit_Util_Blacklist', false)) {
258258
$Test = 'PHPUnit_Util_Test';
259259
$BaseTestRunner = 'PHPUnit_Runner_BaseTestRunner';
260-
$Warning = 'PHPUnit_Framework_Warning';
261260
} else {
262261
$Test = 'PHPUnit\Util\Test';
263262
$BaseTestRunner = 'PHPUnit\Runner\BaseTestRunner';
264-
$Warning = 'PHPUnit\Framework\Warning';
265263
}
266264
$className = \get_class($test);
267-
$classGroups = $Test::getGroups($className);
268265
$groups = $Test::getGroups($className, $test->getName(false));
269266

270267
if (null !== $this->reportUselessTests) {

0 commit comments

Comments
 (0)