Skip to content

Commit 077fb07

Browse files
fix tests
1 parent 2b58905 commit 077fb07

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Test/ForwardCompatTestTrait.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
// Auto-adapt to PHPUnit 8 that added a `void` return-type to the setUp/tearDown methods
1717

1818
if (method_exists(\ReflectionMethod::class, 'hasReturnType') && (new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
19-
eval('
20-
namespace Symfony\Bundle\FrameworkBundle\Test;
21-
2219
/**
2320
* @internal
2421
*/
@@ -42,7 +39,6 @@ protected function tearDown(): void
4239
$this->doTearDown();
4340
}
4441
}
45-
');
4642
} else {
4743
/**
4844
* @internal

0 commit comments

Comments
 (0)