mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
14da17860d
7722a57d80
[PHP 8.0] Add return type support to ConstantListClassToEnumRector (#2420)
11 lines
310 B
PHP
11 lines
310 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220603;
|
|
|
|
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);
|
|
};
|