Skip to content

Commit

Permalink
clean up rector config
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed May 2, 2024
1 parent b94c3ba commit 1a9821c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@

use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
use Rector\Config\RectorConfig;
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
use Rector\PHPUnit\Set\PHPUnitLevelSetList;
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;

return RectorConfig::configure()
->withPreparedSets(
Expand All @@ -29,10 +24,8 @@
->withPhpSets(php81: true)
->withPaths([__DIR__ . '/src', __DIR__ . '/test'])
->withRootFiles()
->withImportNames()
->withImportNames(removeUnusedImports: true)
->withSkip([
// make error on controller load view
StringClassNameToClassConstantRector::class,
// conflict with cs fix
NewlineAfterStatementRector::class,
])
Expand Down

0 comments on commit 1a9821c

Please sign in to comment.