Skip to content

Commit

Permalink
Fix Rector config.
Browse files Browse the repository at this point in the history
  • Loading branch information
TravisCarden committed Jun 12, 2024
1 parent 47b3932 commit cdcdb91
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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__],
Expand Down

0 comments on commit cdcdb91

Please sign in to comment.