1<?php
2
3declare(strict_types = 1);
4
5error_reporting(E_ALL | E_STRICT);
6
7// Set the default timezone. While this doesn't cause any tests to fail, PHP
8// complains if it is not set in 'date.timezone' of php.ini.
9date_default_timezone_set('UTC');
10
11// Ensure that composer has installed all dependencies
12if (!file_exists(dirname(__DIR__) . '/composer.lock')) {
13    die(
14        "Dependencies must be installed using composer:\n\nphp composer.phar install --dev\n\n"
15        . "See http://getcomposer.org for help with installing composer\n"
16    );
17}
18
19// Include the composer autoloader
20$autoloader = include_once dirname(__DIR__) . '/vendor/autoload.php';
21