2020-07-18 18:57:24 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2023-06-01 08:56:46 +00:00
|
|
|
namespace RectorPrefix202306;
|
2020-07-18 18:57:24 +02:00
|
|
|
|
2022-06-06 17:12:56 +00:00
|
|
|
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;
|
2022-06-07 08:22:29 +00:00
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
2023-06-05 14:37:00 +00:00
|
|
|
$rectorConfig->rules([FinalizeClassesWithoutChildrenRector::class, PrivatizeLocalGetterToPropertyRector::class, PrivatizeFinalClassPropertyRector::class, PrivatizeFinalClassMethodRector::class]);
|
2020-07-18 18:57:24 +02:00
|
|
|
};
|