2020-07-18 18:57:24 +02:00
|
|
|
<?php
|
|
|
|
|
2021-05-09 20:15:43 +00:00
|
|
|
declare (strict_types=1);
|
2023-07-01 09:41:56 +00:00
|
|
|
namespace RectorPrefix202307;
|
2020-07-18 18:57:24 +02:00
|
|
|
|
2022-06-06 17:12:56 +00:00
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
use Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
|
|
|
|
use Rector\Php53\Rector\Ternary\TernaryToElvisRector;
|
|
|
|
use Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector;
|
2022-06-07 08:22:29 +00:00
|
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
|
|
$rectorConfig->rule(TernaryToElvisRector::class);
|
|
|
|
$rectorConfig->rule(DirNameFileConstantToDirConstantRector::class);
|
|
|
|
$rectorConfig->rule(ReplaceHttpServerVarsByServerRector::class);
|
2020-07-18 18:57:24 +02:00
|
|
|
};
|