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-04-15 03:38:15, by Exakat (2.6.7- build 1504)
services:
Rector\DeadCode\Rector\Array_\RemoveDuplicatedArrayKeyRector
Rector\CodingStyle\Rector\FuncCall\SimpleArrayCallableToStringRector
Rector\DeadCode\Rector\ClassMethod\RemoveUnusedParameterRector
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