Skip to content

Commit 1203a1f

Browse files
Merge branch '3.4' into 4.3
* 3.4: Replace warning by isolated test
2 parents 0876cb2 + d8150fa commit 1203a1f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Tests/CacheWarmer/ValidatorCacheWarmerTest.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
namespace Symfony\Bundle\FrameworkBundle\Tests\CacheWarmer;
1313

14-
use PHPUnit\Framework\Warning;
1514
use Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer;
1615
use Symfony\Bundle\FrameworkBundle\Tests\TestCase;
1716
use Symfony\Component\Cache\Adapter\NullAdapter;
@@ -21,12 +20,11 @@
2120

2221
class ValidatorCacheWarmerTest extends TestCase
2322
{
23+
/**
24+
* @runInSeparateProcess https://github.com/symfony/symfony/issues/32995
25+
*/
2426
public function testWarmUp()
2527
{
26-
if (\PHP_VERSION_ID >= 70400) {
27-
throw new Warning('PHP 7.4 breaks this test, see https://bugs.php.net/78351.');
28-
}
29-
3028
$validatorBuilder = new ValidatorBuilder();
3129
$validatorBuilder->addXmlMapping(__DIR__.'/../Fixtures/Validation/Resources/person.xml');
3230
$validatorBuilder->addYamlMapping(__DIR__.'/../Fixtures/Validation/Resources/author.yml');

0 commit comments

Comments
 (0)