mirror of
https://github.com/rectorphp/rector.git
synced 2024-07-01 23:23:30 +00:00
012e9ad553
Add annotation to attribute core rename in AnnotationToAttributeRector (#2384)
11 lines
310 B
PHP
11 lines
310 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220528;
|
|
|
|
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);
|
|
};
|