mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-19 15:45:43 +01:00
36 lines
729 B
YAML
36 lines
729 B
YAML
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
|