[Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgrade (#2247)

This commit is contained in:
Abdul Malik Ikhsan 2022-05-07 14:06:17 +07:00 committed by GitHub
parent 26cad67b1c
commit b54fb77073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -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';

View File

@ -74,3 +74,5 @@ cd ..
rm -rf rector-prefixed-downgraded
rm -rf rector-build
git checkout src/functions