1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/tests/bootstrap.php
2016-12-30 19:36:35 -05:00

13 lines
268 B
PHP

<?php
ini_set('display_startup_errors', 1);
ini_set('html_errors', 1);
error_reporting(E_ALL);
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
if (file_exists($file)) {
require $file;
break;
}
}