rector/tests/bootstrap.php
Abdul Malik Ikhsan 267d27bcd7
[Test] Remove PHPStanStubLoader::loadStubs() and require constants in tests bootstrap (#2228)
* [Test] Remove PHPStanStubLoader::loadStubs() in tests bootstrap

* remove require constant as well
2022-05-04 20:43:35 +07:00

14 lines
298 B
PHP

<?php
declare(strict_types=1);
// make local php-parser a priority to avoid conflict
require_once __DIR__ . '/../preload.php';
require_once __DIR__ . '/../vendor/autoload.php';
// silent deprecations, since we test them
error_reporting(E_ALL ^ E_DEPRECATED);
// performance boost
gc_disable();