Skip to content

Commit 50b98a8

Browse files
fizzkafabpot
authored andcommitted
fix lost namespace in eval
1 parent d9f6db4 commit 50b98a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Test/KernelShutdownOnTearDownTrait.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
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('
19+
eval('
20+
namespace Symfony\Bundle\FrameworkBundle\Test;
21+
2022
/**
2123
* @internal
2224
*/

0 commit comments

Comments
 (0)