Skip to content

Commit b05e3db

Browse files
ogizanaginicolas-grekas
authored andcommitted
Remove PHP < 7.1.3 code
1 parent 02a3403 commit b05e3db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Tests/DateFormatter/AbstractIntlDateFormatterTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ public function formatProvider()
243243
return $formatData;
244244
}
245245

246-
/**
247-
* @requires PHP 5.5.10
248-
*/
249246
public function testFormatUtcAndGmtAreSplit()
250247
{
251248
$pattern = "yyyy.MM.dd 'at' HH:mm:ss zzz";
@@ -318,7 +315,6 @@ public function formatWithTimezoneProvider()
318315

319316
/**
320317
* @dataProvider formatTimezoneProvider
321-
* @requires PHP 5.5
322318
*/
323319
public function testFormatTimezone($pattern, $timezone, $expected)
324320
{
@@ -432,8 +428,8 @@ public function testFormatWithDateTimeZoneGmt()
432428

433429
public function testFormatWithDateTimeZoneGmtOffset()
434430
{
435-
if (defined('HHVM_VERSION_ID') || PHP_VERSION_ID <= 50509) {
436-
$this->markTestSkipped('DateTimeZone GMT offsets are supported since 5.5.10. See https://github.com/facebook/hhvm/issues/5875 for HHVM.');
431+
if (defined('HHVM_VERSION_ID')) {
432+
$this->markTestSkipped('See https://github.com/facebook/hhvm/issues/5875');
437433
}
438434

439435
$formatter = $this->getDateFormatter('en', IntlDateFormatter::MEDIUM, IntlDateFormatter::SHORT, new \DateTimeZone('GMT+03:00'), IntlDateFormatter::GREGORIAN, 'zzzz');

0 commit comments

Comments
 (0)