Add custom rector rule for yoda conditions
This commit is contained in:
@ -19,8 +19,10 @@ return RectorConfig::configure()
|
||||
->withSkipPath(__DIR__ . '/vendor',)
|
||||
->withImportNames(false)
|
||||
->withPhpSets()
|
||||
->withCodeQualityLevel(15)
|
||||
->withCodingStyleLevel(5)
|
||||
->withRules(
|
||||
[
|
||||
AddVoidReturnTypeWhereNoReturnRector::class,
|
||||
\Utils\Rector\Rector\YodaConditionsRector::class,
|
||||
]
|
||||
);
|
||||
|
Reference in New Issue
Block a user