mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
aa2cb1b997
0eba231b07
[PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
11 lines
310 B
PHP
11 lines
310 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220606;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php82\Rector\Class_\ReadOnlyClassRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(\Rector\Php82\Rector\Class_\ReadOnlyClassRector::class);
|
|
};
|