We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a07c51a commit 74edbecCopy full SHA for 74edbec
config/rector.php
@@ -3,6 +3,7 @@
3
declare(strict_types=1);
4
5
use Rector\Config\RectorConfig;
6
+use Rector\Set\ValueObject\SetList;
7
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
8
9
return RectorConfig::configure()
@@ -12,8 +13,7 @@
12
13
__DIR__ . '/../tests',
14
]
15
)
- // uncomment to reach your current PHP version
16
- // ->withPhpSets()
+ ->withSets([SetList::PHP_70])
17
->withRules(
18
[
19
// AddVoidReturnTypeWhereNoReturnRector::class,
0 commit comments