File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 55require_once __DIR__ . '/util/rector/ReplaceKnownDefinedWithBooleanRector.php ' ;
66require_once __DIR__ . '/util/rector/ReplaceNegatedBooleanRector.php ' ;
77
8+ use Rector \CodingStyle \Rector \Catch_ \CatchExceptionNameMatchingTypeRector ;
9+ use Rector \CodingStyle \Rector \ClassMethod \NewlineBeforeNewAssignSetRector ;
10+ use Rector \CodingStyle \Rector \Encapsed \EncapsedStringsToSprintfRector ;
11+ use Rector \CodingStyle \Rector \Stmt \NewlineAfterStatementRector ;
812use Rector \Config \RectorConfig ;
913use Rector \Constants \Rector \FuncCall \ReplaceKnownDefinedWithBooleanRector ;
1014use Rector \DeadCode \Rector \For_ \RemoveDeadContinueRector ;
4246 ->withSets (
4347 [
4448 SetList::CODE_QUALITY ,
49+ SetList::CODING_STYLE ,
4550 SetList::DEAD_CODE ,
4651 SetList::EARLY_RETURN ,
4752 SetList::INSTANCEOF ,
4853 ]
4954 )
5055 ->withSkip (
5156 [
57+ CatchExceptionNameMatchingTypeRector::class,
58+ EncapsedStringsToSprintfRector::class,
59+ NewlineAfterStatementRector::class,
60+ NewlineBeforeNewAssignSetRector::class,
5261 // Allow explicit loops to consume iterators for side-effects
5362 RemoveDeadContinueRector::class,
5463 TernaryToElvisRector::class,
You can’t perform that action at this time.
0 commit comments