mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
7ba32aac1f
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
14 lines
671 B
PHP
14 lines
671 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202401;
|
|
|
|
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]);
|
|
};
|