This is a suggestion of configuration directives to use with Rector refactoring tool.
Use this selection as a base to include in the rector.yaml file, at the root of the code source.
The complete list of rectors
# Add this to your rector.yaml file
# At the root of the source to be analyzed
# Generated on 2022-04-09 04:00:9, by Exakat (2.4.0- build 1309)
services:
Rector\CodingStyle\Rector\FuncCall\SimpleArrayCallableToStringRector
Rector\DeadCode\Rector\ClassMethod\RemoveUnusedParameterRector
Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector
Rector\CodeQuality\Rector\Assign\CombinedAssignRector
Rector\CodeQuality\Rector\If_\ShortenElseIfR
Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector
Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector
Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector
Rector\CodeQuality\Rector\Concat\JoinStringConcatRector
Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector