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 2024-05-09 02:29:9, by Exakat (2.6.8- build 1506)
services:
Rector\DeadCode\Rector\Array_\RemoveDuplicatedArrayKeyRector
Rector\CodingStyle\Rector\FuncCall\SimpleArrayCallableToStringRector
Rector\DeadCode\Rector\ClassMethod\RemoveUnusedParameterRector
Rector\CodeQuality\Rector\FuncCall\IsAWithStringWithThirdArgumentRector
Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector
Rector\CodeQuality\Rector\Assign\CombinedAssignRector
Rector\Php80\Rector\NotIdentical\StrContainsRector
Rector\CodeQuality\Rector\If_\ShortenElseIfR
Rector\CodeQuality\Rector\For_\ForRepeatedCountToOwnVariableRector
Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector
Rector\DeadCode\Rector\Switch_\RemoveDuplicatedCaseInSwitchRector
Rector\DeadCode\Rector\Plus\RemoveDeadZeroAndOneOperationRector
Rector\DeadCode\Rector\If_\SimplifyIfElseWithSameContentRector
Rector\CodeQuality\Rector\Concat\JoinStringConcatRector
Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector