We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca49278 commit 5323eaeCopy full SHA for 5323eae
rector.php
@@ -0,0 +1,24 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+use Rector\Config\RectorConfig;
6
+use Rector\Set\ValueObject\LevelSetList;
7
+use Rector\Symfony\Set\SymfonySetList;
8
9
+return static function (RectorConfig $rectorConfig): void {
10
+ $rectorConfig->paths([
11
+ __DIR__ . '/src',
12
+ __DIR__ . '/tests',
13
+ ]);
14
15
+ $rectorConfig->symfonyContainerXml(__DIR__ . '/var/cache/dev/App_KernelDevDebugContainer.xml');
16
17
+ // define sets of rules
18
+ $rectorConfig->sets([
19
+ LevelSetList::UP_TO_PHP_81,
20
+ SymfonySetList::SYMFONY_60,
21
+ SymfonySetList::SYMFONY_CODE_QUALITY,
22
+ SymfonySetList::SYMFONY_CONSTRUCTOR_INJECTION,
23
24
+};
0 commit comments