mirror of https://github.com/rectorphp/rector.git
13 lines
376 B
PHP
13 lines
376 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220607;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Core\ValueObject\PhpVersion;
|
|
use Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->phpVersion(PhpVersion::PHP_52);
|
|
$rectorConfig->rule(DirConstToFileConstRector::class);
|
|
};
|