Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | public static function configure(string $packageRootPath): RectorConfigBuilder |
||
13 | { |
||
14 | return Config\RectorConfig::configure() |
||
15 | ->withPaths([ |
||
16 | $packageRootPath . '/etc', |
||
17 | $packageRootPath . '/src', |
||
18 | $packageRootPath . '/tests', |
||
19 | ]) |
||
20 | ->withAttributesSets(all: true) |
||
21 | ->withComposerBased(twig: true, doctrine: true, phpunit: true, symfony: true) |
||
22 | ->withPreparedSets( |
||
23 | codeQuality: true, |
||
24 | typeDeclarations: true, |
||
25 | ) |
||
26 | ->withPhpSets(); |
||
27 | } |
||
29 |