mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-27 21:23:31 +00:00
b48271e18f
[DowngradePhp82] Add DowngradeReadonlyClassRector to downgrade readonly class (#2322)
12 lines
412 B
PHP
12 lines
412 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220531;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Set\ValueObject\DowngradeLevelSetList;
|
|
use Rector\Set\ValueObject\DowngradeSetList;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->sets([\Rector\Set\ValueObject\DowngradeLevelSetList::DOWN_TO_PHP_81, \Rector\Set\ValueObject\DowngradeSetList::PHP_81]);
|
|
};
|