mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-23 11:14:38 +01:00
17b86d4b77
[CodeQuality] Remove unnecessary check next return removed no SimplifyIfElseToTernaryRector (#2457)
15 lines
554 B
PHP
15 lines
554 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220609;
|
|
|
|
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 (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rule(TernaryToElvisRector::class);
|
|
$rectorConfig->rule(DirNameFileConstantToDirConstantRector::class);
|
|
$rectorConfig->rule(ReplaceHttpServerVarsByServerRector::class);
|
|
};
|