Rev | Author | Line No. | Line |
---|---|---|---|
4986 | kaklik | 1 | <?php |
2 | |||
3 | declare(strict_types=1); |
||
4 | |||
5 | use Rector\Config\RectorConfig; |
||
6 | use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector; |
||
7 | |||
8 | return RectorConfig::configure() |
||
9 | ->withPaths([ |
||
10 | __DIR__ . '/Articles', |
||
11 | __DIR__ . '/Server', |
||
12 | __DIR__ . '/Web', |
||
13 | ]) |
||
14 | // uncomment to reach your current PHP version |
||
15 | // ->withPhpSets() |
||
16 | ->withRules([ |
||
17 | AddVoidReturnTypeWhereNoReturnRector::class, |
||
18 | ]); |