2021-05-05 23:56:59 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2022-05-16 01:19:48 +00:00
|
|
|
namespace RectorPrefix20220516;
|
2021-05-05 23:56:59 +02:00
|
|
|
|
2022-04-12 11:52:08 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
2021-05-05 23:56:59 +02:00
|
|
|
use Rector\Core\ValueObject\PhpVersion;
|
2021-05-06 10:23:37 +02:00
|
|
|
use Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector;
|
2022-04-12 11:52:08 +00:00
|
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
2022-04-12 14:41:09 +00:00
|
|
|
$rectorConfig->phpVersion(\Rector\Core\ValueObject\PhpVersion::PHP_52);
|
2022-04-20 07:12:09 +00:00
|
|
|
$rectorConfig->rule(\Rector\DowngradePhp53\Rector\Dir\DirConstToFileConstRector::class);
|
2021-05-05 23:56:59 +02:00
|
|
|
};
|