mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 03:35:01 +01:00
13 lines
385 B
PHP
13 lines
385 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220607;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\DowngradePhp82\Rector\Class_\DowngradeReadonlyClassRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_81);
|
|
$rectorConfig->rule(DowngradeReadonlyClassRector::class);
|
|
};
|