Add custom rector rule for yoda conditions
This commit is contained in:
1 parent
be0ab98895
commit
07a69d33e5
7 files changed
+167
-29
No files matched your search
+3
-1
@@ -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