8000 Removed eval() from KernelShutdownOnTearDownTrait · symfony/symfony@324b70a · GitHub
[go: up one dir, main page]

Skip to content

Commit 324b70a

Browse files
committed
Removed eval() from KernelShutdownOnTearDownTrait
1 parent 5b23a2b commit 324b70a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Symfony/Bundle/FrameworkBundle/Test/KernelShutdownOnTearDownTrait.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 tearDown method
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
*/
@@ -29,7 +26,6 @@ protected function tearDown(): void
2926
static::ensureKernelShutdown();
3027
}
3128
}
32-
');
3329
} else {
3430
/**
3531
* @internal

0 commit comments

Comments
 (0)
0