Skip to content

Commit

Permalink
exclude finalize rule from private set, to keep safer
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jan 30, 2024
1 parent f680a07 commit aacc1e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/set/privatization.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
declare(strict_types=1);

use Rector\Config\RectorConfig;
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
use Rector\Privatization\Rector\ClassMethod\PrivatizeFinalClassMethodRector;
use Rector\Privatization\Rector\MethodCall\PrivatizeLocalGetterToPropertyRector;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->rules([
FinalizeClassesWithoutChildrenRector::class,
PrivatizeLocalGetterToPropertyRector::class,
PrivatizeFinalClassPropertyRector::class,
PrivatizeFinalClassMethodRector::class,
Expand Down

0 comments on commit aacc1e6

Please sign in to comment.