Skip to content

Commit

Permalink
Enhancement: Enable ReadOnlyPropertyRector
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Apr 27, 2023
1 parent a1e74ee commit 2ef8e45
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rector.php
Expand Up @@ -13,6 +13,7 @@

use Rector\Config;
use Rector\Core;
use Rector\Php81;
use Rector\PHPUnit;

return static function (Config\RectorConfig $rectorConfig): void {
Expand All @@ -27,6 +28,10 @@

$rectorConfig->phpVersion(Core\ValueObject\PhpVersion::PHP_81);

$rectorConfig->rules([
Php81\Rector\Property\ReadOnlyPropertyRector::class,
]);

$rectorConfig->sets([
PHPUnit\Set\PHPUnitSetList::PHPUNIT_90,
]);
Expand Down

0 comments on commit 2ef8e45

Please sign in to comment.