mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
15 lines
350 B
PHP
15 lines
350 B
PHP
<?php
|
|
|
|
ini_set('display_startup_errors', 1);
|
|
ini_set('html_errors', 1);
|
|
ini_set('memory_limit', '-1');
|
|
error_reporting(E_ALL);
|
|
|
|
foreach ([__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php'] as $file) {
|
|
if (file_exists($file)) {
|
|
/** @psalm-suppress UnresolvableInclude */
|
|
require $file;
|
|
break;
|
|
}
|
|
}
|