mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-15 13:25:30 +01:00
17 lines
324 B
PHP
17 lines
324 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Core\Stubs\PHPStanStubLoader;
|
|
|
|
require_once __DIR__ . '/../vendor/autoload.php';
|
|
|
|
// silent deprecations, since we test them
|
|
error_reporting(E_ALL ^ E_DEPRECATED);
|
|
|
|
// performance boost
|
|
gc_disable();
|
|
|
|
$phpStanStubLoader = new PHPStanStubLoader();
|
|
$phpStanStubLoader->loadStubs();
|