-
Notifications
You must be signed in to change notification settings - Fork 113
Expand file tree
/
Copy pathrector.yaml
More file actions
34 lines (26 loc) · 686 Bytes
/
rector.yaml
File metadata and controls
34 lines (26 loc) · 686 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
imports:
- { resource: "create-rector.yaml", ignore_errors: 'not_found' }
parameters:
# bleeding edge feature
# is_cache_enabled: true
auto_import_names: true
sets:
# - solid
- 'dead-code'
- 'early-return'
- 'order'
# - 'code-quality'
# - 'performance'
#>blows up - 'psr4'
# - 'phpunit91'
# - 'php74'
#
paths:
- src
- tests
exclude_paths:
- "/vendor/"
php_version_features: '7.4'
services:
Rector\DeadCode\Rector\ClassConst\RemoveUnusedPrivateConstantRector: null
Rector\SOLID\Rector\Class_\RepeatedLiteralToClassConstantRector: null