mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
18 lines
305 B
PHP
18 lines
305 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Stubs\StubLoader;
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
// silent deprecations, since we test them
|
|
error_reporting(E_ALL ^ E_DEPRECATED);
|
|
|
|
// performance boost
|
|
gc_disable();
|
|
|
|
// load stubs
|
|
$stubLoader = new StubLoader();
|
|
$stubLoader->loadStubs();
|