Skip to content

Commit

Permalink
fix lost namespace in eval
Browse files Browse the repository at this point in the history
  • Loading branch information
fizzka authored and fabpot committed Feb 16, 2019
1 parent d9f6db4 commit 50b98a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Test/KernelShutdownOnTearDownTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
// Auto-adapt to PHPUnit 8 that added a `void` return-type to the tearDown method

if (method_exists(\ReflectionMethod::class, 'hasReturnType') && (new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
eval('
eval('
namespace Symfony\Bundle\FrameworkBundle\Test;
/**
* @internal
*/
Expand Down

0 comments on commit 50b98a8

Please sign in to comment.