diff --git a/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php b/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php index 0130882bd9..ee0413beb3 100644 --- a/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php +++ b/src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php @@ -102,6 +102,10 @@ EODUMP; */ public function testDumpInterval($intervalSpec, $ms, $invert, $expected) { + if ($ms && PHP_VERSION_ID >= 70200 && version_compare(PHP_VERSION, '7.2.0rc2', '<=')) { + $this->markTestSkipped('Skipped on 7.2 before rc3 because of php bug #75354.'); + } + $interval = $this->createInterval($intervalSpec, $ms, $invert); $xDump = <<= 70200 && version_compare(PHP_VERSION, '7.2.0rc2', '<=')) { + $this->markTestSkipped('Skipped on 7.2 before rc3 because of php bug #75354.'); + } + $interval = $this->createInterval($intervalSpec, $ms, $invert); $xDump = <<