mirror of
https://github.com/Neur0toxine/pock.git
synced 2024-12-05 03:06:04 +03:00
19 lines
518 B
PHP
19 lines
518 B
PHP
|
<?php
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
|
||
|
if (
|
||
|
function_exists('date_default_timezone_set')
|
||
|
&& function_exists('date_default_timezone_get')
|
||
|
) {
|
||
|
date_default_timezone_set(date_default_timezone_get());
|
||
|
}
|
||
|
|
||
|
if (!is_file($autoloadFile = __DIR__ . '/../vendor/autoload.php')) {
|
||
|
throw new RuntimeException('Did not find vendor/autoload.php. Did you run "composer install --dev"?');
|
||
|
}
|
||
|
|
||
|
$loader = require $autoloadFile;
|
||
|
$loader->add('Pock\\Tests', __DIR__ . '/src');
|
||
|
$loader->add('Pock\\TestUtils', __DIR__ . '/utils');
|