mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
22 lines
708 B
PHP
22 lines
708 B
PHP
<?php
|
|
|
|
error_reporting(E_ALL | E_STRICT);
|
|
date_default_timezone_set('UTC');
|
|
|
|
// Ensure that composer has installed all dependencies
|
|
if (!file_exists(dirname(__DIR__) . '/vendor/autoload.php')) {
|
|
die("Dependencies must be installed using composer:\n\nphp composer.phar install --dev\n\n"
|
|
. "See http://getcomposer.org for help with installing composer\n");
|
|
}
|
|
|
|
var_dump(phpversion());
|
|
|
|
// Set a default timezone for HHVM tests
|
|
date_default_timezone_set('UTC');
|
|
|
|
// Include the Composer autoloader
|
|
$loader = include realpath(dirname(__FILE__) . '/../vendor/autoload.php');
|
|
|
|
$loader->add("Doctrine\Tests\DBAL", __DIR__."/../vendor/doctrine/dbal/tests");
|
|
$loader->addPsr4('Rhumsaa\\Uuid\\', __DIR__);
|