From a5337bf0eafe378716f988fb21732ca5e957a743 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Mon, 3 Nov 2014 10:40:41 +0100 Subject: [PATCH] Set timezone in PHP snippet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There is no clean way to adjust HHVM settings from Travis, see https://github.com/travis-ci/travis-ci/issues/2523 Caused by HHVM configuration no longer including timezone settings, see https://github.com/travis-ci/travis-ci/issues/2812 Signed-off-by: Michal Čihař --- test/bootstrap-dist.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php index ad15752d40..209a05ed6f 100644 --- a/test/bootstrap-dist.php +++ b/test/bootstrap-dist.php @@ -9,6 +9,9 @@ // Let PHP complain about all errors error_reporting(E_ALL); +// Ensure PHP has set timezone +date_default_timezone_set('UTC'); + // Adding phpMyAdmin sources to include path set_include_path( get_include_path() . PATH_SEPARATOR . dirname(realpath("../index.php"))