mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-03 18:00:50 +00:00
dd875cd0c9
d09ae7400a
Add "custom-rule" command to make creating rules easy (#5498)
10 lines
192 B
PHP
10 lines
192 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Rector\Config\RectorConfig;
|
|
|
|
return static function (RectorConfig $rectorConfig): void {
|
|
$rectorConfig->rule(\Utils\Rector\Rector\__Name__::class);
|
|
};
|