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
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
|
||||
return static function (RectorConfig $rectorConfig): void {
|
||||
$rectorConfig->rule(\Utils\Rector\Rector\YodaConditionsRector::class);
|
||||
};
|
||||
Reference in new issue
Block a user