2020-07-18 18:57:24 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2022-05-30 00:02:22 +00:00
|
|
|
namespace RectorPrefix20220530;
|
2020-07-18 18:57:24 +02:00
|
|
|
|
2022-04-12 11:52:08 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
2020-07-18 18:57:24 +02:00
|
|
|
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
|
|
|
|
use Rector\Php53\Rector\Ternary\TernaryToElvisRector;
|
|
|
|
use Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector;
|
2022-05-27 11:51:31 +00:00
|
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->rule(\Rector\Php53\Rector\Ternary\TernaryToElvisRector::class);
|
|
|
|
$rectorConfig->rule(\Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector::class);
|
|
|
|
$rectorConfig->rule(\Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector::class);
|
2020-07-18 18:57:24 +02:00
|
|
|
};
|