We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c785fc0 + ae641a8 commit 3fc1ca2Copy full SHA for 3fc1ca2
2 files changed
composer.json
@@ -57,7 +57,8 @@
57
"assoconnect/php-quality-config": "^1.10",
58
"guzzlehttp/guzzle": "^7.7",
59
"guzzlehttp/psr7": "^2.4.5",
60
- "phpstan/phpstan-symfony": "^1.3.7"
+ "phpstan/phpstan-symfony": "^1.3.7",
61
+ "rector/rector": "^1.2"
62
},
63
"config": {
64
"allow-plugins": {
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