mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 06:18:07 +01:00
7ba32aac1f
e12c73eb33
[psr-4] Move tests to main namespace, as part of /src and /packages merge - step 2 (#5407)
17 lines
862 B
PHP
17 lines
862 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202401;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php71\Rector\Assign\AssignArrayToStringRector;
|
|
use Rector\Php71\Rector\BinaryOp\BinaryOpBetweenNumberAndStringRector;
|
|
use Rector\Php71\Rector\BooleanOr\IsIterableRector;
|
|
use Rector\Php71\Rector\ClassConst\PublicConstantVisibilityRector;
|
|
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
|
|
use Rector\Php71\Rector\List_\ListToArrayDestructRector;
|
|
use Rector\Php71\Rector\TryCatch\MultiExceptionCatchRector;
|
|
return static function (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->rules([IsIterableRector::class, MultiExceptionCatchRector::class, AssignArrayToStringRector::class, RemoveExtraParametersRector::class, BinaryOpBetweenNumberAndStringRector::class, ListToArrayDestructRector::class, PublicConstantVisibilityRector::class]);
|
|
};
|