rector/config/set/php53.php

15 lines
658 B
PHP
Raw Normal View History

2020-07-18 18:57:24 +02:00
<?php
declare (strict_types=1);
namespace RectorPrefix20220530;
2020-07-18 18:57:24 +02: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;
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
};