Skip to content

Commit

Permalink
Extend code-quality set (#3773)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 8, 2023
1 parent 9a2fe21 commit ee66653
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/set/code-quality.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@
use Rector\Php52\Rector\Property\VarToPublicPropertyRector;
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
use Rector\Restoration\Rector\Class_\RemoveFinalFromEntityRector;
use Rector\Restoration\Rector\Property\MakeTypedPropertyNullableIfCheckedRector;
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig
Expand Down Expand Up @@ -198,5 +201,8 @@
SimplifyEmptyCheckOnEmptyArrayRector::class,
SwitchTrueToIfRector::class,
CleanupUnneededNullsafeOperatorRector::class,
MakeTypedPropertyNullableIfCheckedRector::class,
RemoveFinalFromEntityRector::class,
DisallowedEmptyRuleFixerRector::class,
]);
};

0 comments on commit ee66653

Please sign in to comment.