[Pkg-owncloud-commits] [php-sabre-vobject] 115/128: hhvm unittest should succeed again after this.
David Prévot
taffit at moszumanska.debian.org
Tue May 20 23:11:08 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository php-sabre-vobject.
commit efd2cf7949902fda49634f9437c4888c130e3eb3
Author: Evert Pot <evert at rooftopsolutions.nl>
Date: Sat May 3 03:14:51 2014 -0400
hhvm unittest should succeed again after this.
---
tests/Sabre/VObject/TimeZoneUtilTest.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/Sabre/VObject/TimeZoneUtilTest.php b/tests/Sabre/VObject/TimeZoneUtilTest.php
index 6e4204d..fd2dec8 100644
--- a/tests/Sabre/VObject/TimeZoneUtilTest.php
+++ b/tests/Sabre/VObject/TimeZoneUtilTest.php
@@ -155,7 +155,7 @@ HI;
$tz = TimeZoneUtil::getTimeZone('GMT-0400', null, true);
- if (version_compare(PHP_VERSION, '5.5.10', '>=')) {
+ if (version_compare(PHP_VERSION, '5.5.10', '>=') && !defined('HHVM_VERSION')) {
$ex = new \DateTimeZone('-04:00');
} else {
$ex = new \DateTimeZone('Etc/GMT-4');
@@ -304,7 +304,7 @@ END:VCALENDAR
HI;
$tz = TimeZoneUtil::getTimeZone('/freeassociation.sourceforge.net/Tzfile/SystemV/EST5EDT', Reader::read($vobj), true);
- if (version_compare(PHP_VERSION, '5.5.10', '>=')) {
+ if (version_compare(PHP_VERSION, '5.5.10', '>=') && !defined('HHVM_VERSION')) {
$ex = new \DateTimeZone('America/New_York');
} else {
$ex = new \DateTimeZone('EST5EDT');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabre-vobject.git
More information about the Pkg-owncloud-commits
mailing list