We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9348e commit 8b21f96Copy full SHA for 8b21f96
1 file changed
rector.php
@@ -0,0 +1,19 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
6
+use Rector\Config\RectorConfig;
7
+use Rector\PHPUnit\Set\PHPUnitSetList;
8
+use Rector\Set\ValueObject\LevelSetList;
9
10
+return static function (RectorConfig $rectorConfig): void {
11
+ $rectorConfig->paths([
12
+ __DIR__ . '/test',
13
+ __DIR__ . '/src',
14
+ ]);
15
16
17
+ // define sets of rules
18
+ $rectorConfig->sets([LevelSetList::UP_TO_PHP_81, PHPUnitSetList::PHPUNIT_100,]);
19
+};
0 commit comments