8000 bug #30245 fix lost namespace in eval (fizzka) · devrck/symfony@37a1302 · GitHub
[go: up one dir, main page]

Skip to content

Commit 37a1302

Browse files
committed
bug symfony#30245 fix lost namespace in eval (fizzka)
This PR was squashed before being merged into the 4.2 branch (closes symfony#30245). Discussion ---------- fix lost namespace in eval Bugfix: phpunit8 tearDown() declaration Commits ------- 8743a1a fix lost namespace in eval
2 parents 3481936 + 8743a1a commit 37a1302

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/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)
0