We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0108ee5 + 8d7085d commit bfe9f8bCopy full SHA for bfe9f8b
2 files changed
composer.json
@@ -22,7 +22,8 @@
22
}
23
},
24
"require-dev": {
25
- "assoconnect/php-quality-config": "^1.0"
+ "assoconnect/php-quality-config": "^1.0",
26
+ "rector/rector": "^1.2"
27
28
"require": {
29
"php": "^7.4|^8.0",
rector.php
@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+use Rector\Config\RectorConfig;
6
7
+return RectorConfig::configure()
8
+ ->withPaths([
9
+ __DIR__ . '/src',
10
+ __DIR__ . '/tests',
11
+ ])
12
+ // uncomment to reach your current PHP version
13
+ // ->withPhpSets()
14
+ ->withTypeCoverageLevel(0)
15
+ ->withSets([
16
+ __DIR__ . '/vendor/assoconnect/php-quality-config/src/Rector/rules.php',
17
+ ]);
0 commit comments