From 7a5985526fd909ae0601fe8e03f98aa7d21bc08d Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Tue, 10 Oct 2017 19:08:27 +0200 Subject: [PATCH] Skip tests affected by PHP bug 75354 --- .../Component/VarDumper/Tests/Caster/DateCasterTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = <<