mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-15 23:52:23 +00:00
13 lines
376 B
PHP
13 lines
376 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220610;
|
|
|
|
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);
|
|
};
|