Skip to content

Commit

Permalink
[Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgra…
Browse files Browse the repository at this point in the history
…de (#2247)
  • Loading branch information
samsonasik committed May 7, 2022
1 parent 26cad67 commit b54fb77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build/config/config-downgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Core\Stubs\PHPStanStubLoader;
use Rector\Set\ValueObject\DowngradeLevelSetList;

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

require_once __DIR__ . '/../target-repository/stubs-rector/PHPUnit/Framework/TestCase.php';
require_once __DIR__ . '/../../stubs/Composer/EventDispatcher/EventSubscriberInterface.php';
require_once __DIR__ . '/../../stubs/Composer/Plugin/PluginInterface.php';
Expand Down
2 changes: 2 additions & 0 deletions full_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,5 @@ cd ..

rm -rf rector-prefixed-downgraded
rm -rf rector-build

git checkout src/functions

0 comments on commit b54fb77

Please sign in to comment.