Skip to content

Commit 7a59855

Browse files
Skip tests affected by PHP bug 75354
1 parent 9abc182 commit 7a59855

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Symfony/Component/VarDumper/Tests/Caster/DateCasterTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ public function provideDateTimes()
102102
*/
103103
public function testDumpInterval($intervalSpec, $ms, $invert, $expected)
104104
{
105+
if ($ms && PHP_VERSION_ID >= 70200 && version_compare(PHP_VERSION, '7.2.0rc2', '<=')) {
106+
$this->markTestSkipped('Skipped on 7.2 before rc3 because of php bug #75354.');
107+
}
108+
105109
$interval = $this->createInterval($intervalSpec, $ms, $invert);
106110

107111
$xDump = <<<EODUMP
@@ -118,6 +122,10 @@ public function testDumpInterval($intervalSpec, $ms, $invert, $expected)
118122
*/
119123
public function testDumpIntervalExcludingVerbosity($intervalSpec, $ms, $invert, $expected)
120124
{
125+
if ($ms && PHP_VERSION_ID >= 70200 && version_compare(PHP_VERSION, '7.2.0rc2', '<=')) {
126+
$this->markTestSkipped('Skipped on 7.2 before rc3 because of php bug #75354.');
127+
}
128+
121129
$interval = $this->createInterval($intervalSpec, $ms, $invert);
122130

123131
$xDump = <<<EODUMP

0 commit comments

Comments
 (0)