From cdcdb91829f384c42ed6779ef45ec17511659f68 Mon Sep 17 00:00:00 2001 From: Travis Carden Date: Wed, 12 Jun 2024 12:29:10 -0400 Subject: [PATCH] Fix Rector config. --- rector.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rector.php b/rector.php index 5d0e522f..2e8cab3b 100644 --- a/rector.php +++ b/rector.php @@ -8,10 +8,8 @@ use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector; use Rector\Config\RectorConfig; use Rector\Php80\Rector\FunctionLike\MixedTypeRector; -use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; -use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector; use Rector\Set\ValueObject\LevelSetList; use Rector\Set\ValueObject\SetList; @@ -37,12 +35,10 @@ $rectorConfig->skip([ // Exclude temporary Symfony Process fork. - __DIR__ . '/src/Internal/SymfonyProcess', + 0 => __DIR__ . '/src/Internal/SymfonyProcess', CatchExceptionNameMatchingTypeRector::class => [__DIR__], EncapsedStringsToSprintfRector::class => [__DIR__], - FinalizeClassesWithoutChildrenRector::class => [__DIR__], // This is duplicative of PHPCS sniff SlevomatCodingStandard.Classes.RequireAbstractOrFinal. - FinalizePublicClassConstantRector::class => [__DIR__ . '/tests/TestDoubles/Precondition/Service/AbstractTestPrecondition.php'], LocallyCalledStaticMethodToNonStaticRector::class => [__DIR__], MixedTypeRector::class => [__DIR__], NewlineAfterStatementRector::class => [__DIR__],