mirror of
https://github.com/rectorphp/rector.git
synced 2024-05-31 00:10:51 +00:00
740fedd8a5
74a7c51d38
[automated] Re-Generate Nodes/Rectors Documentation (#5664)
13 lines
389 B
PHP
13 lines
389 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202402;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\ValueObject\PhpVersion;
|
|
use Rector\DowngradePhp83\Rector\ClassConst\DowngradeTypedClassConstRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_82);
|
|
$rectorConfig->rules([DowngradeTypedClassConstRector::class]);
|
|
};
|