mirror of https://github.com/rectorphp/rector.git
[Scoper] Remove PHPStanStubLoader->loadStubs() call on config-downgrade (#2247)
This commit is contained in:
parent
26cad67b1c
commit
b54fb77073
|
@ -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';
|
||||
|
|
|
@ -74,3 +74,5 @@ cd ..
|
|||
|
||||
rm -rf rector-prefixed-downgraded
|
||||
rm -rf rector-build
|
||||
|
||||
git checkout src/functions
|
||||
|
|
Loading…
Reference in New Issue