Rector configuration

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-16 12:43:16, by Exakat (2.6.8- build 1506)

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