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