1
0
mirror of https://github.com/rlanvin/php-rrule.git synced 2024-12-03 10:24:10 +01:00
php-rrule/tests/bootstrap.php
2018-05-15 17:41:41 +01:00

12 lines
339 B
PHP

<?php
require_once __DIR__.'/../vendor/autoload.php';
if (class_exists('PHPUnit_Framework_Error_Notice')) {
class_alias('PHPUnit_Framework_Error_Notice', 'PHPUnit\Framework\Error\Notice');
}
// make sure that the tests are run in the same timezone everywhere
// Europe/Helsinki has DST
date_default_timezone_set('Europe/Helsinki');