bug #30245 fix lost namespace in eval (fizzka)

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
This commit is contained in:
Fabien Potencier 2019-02-16 12:54:38 +01:00 committed by Nicolas Grekas
parent 5a154538c7
commit da325fc0e2

View File

@ -17,6 +17,8 @@ use PHPUnit\Framework\TestCase;
if (method_exists(\ReflectionMethod::class, 'hasReturnType') && (new \ReflectionMethod(TestCase::class, 'tearDown'))->hasReturnType()) {
eval('
namespace Symfony\Bundle\FrameworkBundle\Test;
/**
* @internal
*/