rector/config/level/php/php70.yml
2018-12-31 18:47:30 +01:00

23 lines
1.0 KiB
YAML

imports:
- { resource: "mysql_to_mysqli.yml" }
services:
Rector\Php\Rector\FunctionLike\Php4ConstructorRector: ~
Rector\Php\Rector\Ternary\TernaryToNullCoalescingRector: ~
Rector\Php\Rector\FuncCall\RandomFunctionRector: ~
Rector\Php\Rector\FunctionLike\ExceptionHandlerTypehintRector: ~
Rector\Php\Rector\FuncCall\MultiDirnameRector: ~
Rector\Php\Rector\List_\ListSplitStringRector: ~
Rector\Php\Rector\List_\EmptyListRector: ~
# be careful, run this just once, since it can keep swapping order back and forth
Rector\Php\Rector\List_\ListSwapArrayOrderRector: ~
Rector\Php\Rector\FuncCall\CallUserMethodRector : ~
Rector\Php\Rector\FuncCall\EregToPregMatchRector: ~
Rector\Php\Rector\Switch_\ReduceMultipleDefaultSwitchRector: ~
Rector\Php\Rector\Ternary\TernaryToSpaceshipRector: ~
Rector\Php\Rector\If_\IfToSpaceshipRector: ~
Rector\Php\Rector\StaticCall\StaticCallOnNonStaticToInstanceCallRector: ~
Rector\Php\Rector\MethodCall\ThisCallOnStaticMethodToStaticCallRector: ~