Skip to content

Commit

Permalink
(rector) add more rules to skip in base rector config
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesDPC committed Aug 12, 2024
1 parent 504f06b commit 708fb8f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion rector/.rector.vanilla.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,16 @@
\Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector::class,

// Avoid applying this rule, encapsed strings are more readable
\Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class
\Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector::class,

// Avoid applying this rule, too verbose
\Rector\TypeDeclaration\Rector\BooleanAnd\BinaryOpNullableToInstanceofRector::class,

// Avoid applying this rule, too verbose
\Rector\CodeQuality\Rector\If_\ExplicitBoolCompareRector::class,

// Avoid applying this rule, not handling ?SomeClass return types appropriately
\Rector\Strict\Rector\Ternary\BooleanInTernaryOperatorRuleFixerRector::class

])

Expand Down

0 comments on commit 708fb8f

Please sign in to comment.