forked from rectorphp/rector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrector.yaml
More file actions
35 lines (27 loc) · 729 Bytes
/
rector.yaml
File metadata and controls
35 lines (27 loc) · 729 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
35
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'
paths:
- src
- tests
- rules
- utils
- packages
exclude_paths:
- "/Source/"
- "/*Source/"
- "/Fixture/"
- "/Expected/"
# autoload-buggy cases
- "*.php.inc"
# so Rector code is still PHP 7.2 compatible
php_version_features: '7.2'
services:
Rector\DeadCode\Rector\ClassConst\RemoveUnusedPrivateConstantRector: null
Rector\SOLID\Rector\Class_\RepeatedLiteralToClassConstantRector: null