Skip to content

Commit

Permalink
bug #30245 fix lost namespace in eval (fizzka)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 4.2 branch (closes #30245).

Discussion
----------

fix lost namespace in eval

Bugfix:
phpunit8 tearDown() declaration

Commits
-------

8743a1ada8 fix lost namespace in eval
  • Loading branch information
fabpot authored and nicolas-grekas committed Feb 16, 2019
1 parent 1aeddfc commit 33d29f5
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 33d29f5

Please sign in to comment.