File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 11
11
12
12
namespace Symfony \Bundle \FrameworkBundle \Tests \CacheWarmer ;
13
13
14
+ use PHPUnit \Framework \Warning ;
14
15
use Symfony \Bridge \PhpUnit \ForwardCompatTestTrait ;
15
16
use Symfony \Bundle \FrameworkBundle \CacheWarmer \ValidatorCacheWarmer ;
16
17
use Symfony \Bundle \FrameworkBundle \Tests \TestCase ;
@@ -25,6 +26,10 @@ class ValidatorCacheWarmerTest extends TestCase
25
26
26
27
public function testWarmUp ()
27
28
{
29
+ if (\PHP_VERSION_ID >= 70400 ) {
30
+ throw new Warning ('PHP 7.4 breaks this test, see https://bugs.php.net/78351. ' );
31
+ }
32
+
28
33
$ validatorBuilder = new ValidatorBuilder ();
29
34
$ validatorBuilder ->addXmlMapping (__DIR__ .'/../Fixtures/Validation/Resources/person.xml ' );
30
35
$ validatorBuilder ->addYamlMapping (__DIR__ .'/../Fixtures/Validation/Resources/author.yml ' );
You can’t perform that action at this time.
0 commit comments