rector/config/set/php53.php

15 lines
638 B
PHP
Raw Normal View History

2020-07-18 18:57:24 +02:00
<?php
declare (strict_types=1);
namespace RectorPrefix20220606;
2020-07-18 18:57:24 +02:00
2022-06-06 16:43:29 +00:00
use RectorPrefix20220606\Rector\Config\RectorConfig;
use RectorPrefix20220606\Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector;
use RectorPrefix20220606\Rector\Php53\Rector\Ternary\TernaryToElvisRector;
use RectorPrefix20220606\Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector;
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
};