-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrector.php
More file actions
23 lines (20 loc) · 848 Bytes
/
rector.php
File metadata and controls
23 lines (20 loc) · 848 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/symfony-addon-constraints/src',
__DIR__ . '/symfony-addon-constraints/tests',
__DIR__ . '/symfony-addon-form-types/src',
__DIR__ . '/symfony-addon-form-types/tests',
__DIR__ . '/symfony-addon-transformers/src',
__DIR__ . '/symfony-addon-transformers/tests',
])
->withPhpSets()
->withAttributesSets()
->withPreparedSets(phpunitCodeQuality: true, doctrineCodeQuality: true, symfonyCodeQuality: true, symfonyConfigs: true)
->withComposerBased(doctrine: true, phpunit: true, symfony: true)
->withImportNames(importShortClasses: false, removeUnusedImports: true)
->withTypeCoverageLevel(0)
->withDeadCodeLevel(0)
->withCodeQualityLevel(0);