mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-28 05:35:20 +01:00
ce1c29184d
[scoped] change only year and month, to make diff esaier to see; autoload is handled already
13 lines
383 B
PHP
13 lines
383 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202206;
|
|
|
|
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);
|
|
};
|