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

@ -16,7 +16,9 @@ use PHPUnit\Framework\TestCase;
// 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
*/