8000 minor #23860 [VarDumper] Remove hhvm compat/low PHP support in date c… · symfony/symfony@ff7cd4d · GitHub
[go: up one dir, main page]

Skip to content

Commit ff7cd4d

Browse files
minor #23860 [VarDumper] Remove hhvm compat/low PHP support in date caster tests (maidmaid)
This PR was merged into the 4.0-dev branch. Discussion ---------- [VarDumper] Remove hhvm compat/low PHP support in date caster tests | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | / | License | MIT | Doc PR | / Commits ------- ce4cd85 Remove hhvm compat/low PHP support in date caster tests
2 parents 9295a4f + ce4cd85 commit ff7cd4d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@ public function testDumpDateTime($time, $timezone, $xDate, $xTimestamp)
4545
*/
4646
public function testCastDateTime($time, $timezone, $xDate, $xTimestamp, $xInfos)
4747
{
48-
if ((defined('HHVM_VERSION_ID') || PHP_VERSION_ID <= 50509) && preg_match('/[-+]\d{2}:\d{2}/', $timezone)) {
49-
$this->markTestSkipped('DateTimeZone GMT offsets are supported since 5.5.10. See https://github.com/facebook/hhvm/issues/5875 for HHVM.');
50-
}
51-
5248
$stub = new Stub();
5349
$date = new \DateTime($time, new \DateTimeZone($timezone));
5450
$cast = DateCaster::castDateTime($date, array('foo' => 'bar'), $stub, false, 0);

0 commit comments

Comments
 (0)
0