File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323use Rector \CodeQuality \Rector \If_ \ShortenElseIfRector ;
2424use Rector \CodeQuality \Rector \If_ \SimplifyIfElseToTernaryRector ;
2525use Rector \CodeQuality \Rector \If_ \SimplifyIfReturnBoolRector ;
26+ use Rector \CodeQuality \Rector \Ternary \TernaryEmptyArrayArrayDimFetchToCoalesceRector ;
2627use Rector \CodeQuality \Rector \Ternary \UnnecessaryTernaryExpressionRector ;
2728use Rector \CodingStyle \Rector \ClassMethod \FuncGetArgsToVariadicParamRector ;
2829use Rector \CodingStyle \Rector \ClassMethod \MakeInheritedMethodVisibilitySameAsParentRector ;
139140 $ rectorConfig ->rule (MakeInheritedMethodVisibilitySameAsParentRector::class);
140141 $ rectorConfig ->rule (SimplifyEmptyArrayCheckRector::class);
141142 $ rectorConfig ->rule (SimplifyEmptyCheckOnEmptyArrayRector::class);
143+ $ rectorConfig ->rule (TernaryEmptyArrayArrayDimFetchToCoalesceRector::class);
142144 $ rectorConfig ->rule (StringClassNameToClassConstantRector::class);
143145 $ rectorConfig ->rule (PrivatizeFinalClassPropertyRector::class);
144146 $ rectorConfig ->rule (CompleteDynamicPropertiesRector::class);
You can’t perform that action at this time.
0 commit comments