Skip to content

Commit

Permalink
[Test] Remove PHPStanStubLoader::loadStubs() and require constants in…
Browse files Browse the repository at this point in the history
… tests bootstrap (#2228)

* [Test] Remove PHPStanStubLoader::loadStubs() in tests bootstrap

* remove require constant as well
  • Loading branch information
samsonasik committed May 4, 2022
1 parent 129ce26 commit 267d27b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

declare(strict_types=1);

use Rector\Core\Stubs\PHPStanStubLoader;

require_once __DIR__ . '/../src/constants.php';

// make local php-parser a priority to avoid conflict
require_once __DIR__ . '/../preload.php';
require_once __DIR__ . '/../vendor/autoload.php';
Expand All @@ -15,6 +11,3 @@

// performance boost
gc_disable();

$phpStanStubLoader = new PHPStanStubLoader();
$phpStanStubLoader->loadStubs();

0 comments on commit 267d27b

Please sign in to comment.