Skip to content

Commit 74edbec

Browse files
authored
[TASK] rector: add php70 rule set (#549)
Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
1 parent a07c51a commit 74edbec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/rector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
declare(strict_types=1);
44

55
use Rector\Config\RectorConfig;
6+
use Rector\Set\ValueObject\SetList;
67
use Rector\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector;
78

89
return RectorConfig::configure()
@@ -12,8 +13,7 @@
1213
__DIR__ . '/../tests',
1314
]
1415
)
15-
// uncomment to reach your current PHP version
16-
// ->withPhpSets()
16+
->withSets([SetList::PHP_70])
1717
->withRules(
1818
[
1919
// AddVoidReturnTypeWhereNoReturnRector::class,

0 commit comments

Comments
 (0)