mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
16 lines
686 B
PHP
16 lines
686 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220419;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
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 {
|
|
$services = $rectorConfig->services();
|
|
$services->set(\Rector\Php53\Rector\Ternary\TernaryToElvisRector::class);
|
|
$services->set(\Rector\Php53\Rector\FuncCall\DirNameFileConstantToDirConstantRector::class);
|
|
$services->set(\Rector\Php53\Rector\Variable\ReplaceHttpServerVarsByServerRector::class);
|
|
};
|