| /rector.php |
|---|
| 0,0 → 1,18 |
| <?php |
| declare(strict_types=1); |
| use Rector\Config\RectorConfig; |
| use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; |
| return RectorConfig::configure() |
| ->withPaths([ |
| __DIR__ . '/Articles', |
| __DIR__ . '/Server', |
| __DIR__ . '/Web', |
| ]) |
| // uncomment to reach your current PHP version |
| // ->withPhpSets() |
| ->withRules([ |
| AddVoidReturnTypeWhereNoReturnRector::class, |
| ]); |