2019-12-16 14:14:56 +01:00
|
|
|
imports:
|
2020-04-03 15:28:29 +02:00
|
|
|
- { resource: "create-rector.yaml", ignore_errors: 'not_found' }
|
2019-12-16 14:14:56 +01:00
|
|
|
|
2019-03-31 23:20:51 +02:00
|
|
|
parameters:
|
2020-04-01 03:55:44 +02:00
|
|
|
# bleeding edge feature
|
2020-05-06 18:39:07 +02:00
|
|
|
# is_cache_enabled: true
|
2020-04-01 03:55:44 +02:00
|
|
|
|
2020-04-23 14:34:27 +02:00
|
|
|
auto_import_names: true
|
|
|
|
|
2020-05-22 11:02:44 +02:00
|
|
|
# sets:
|
|
|
|
# - solid
|
|
|
|
# - 'dead-code'
|
|
|
|
|
2020-01-12 22:44:42 +01:00
|
|
|
paths:
|
|
|
|
- src
|
|
|
|
- tests
|
2020-03-29 03:35:25 +02:00
|
|
|
- rules
|
|
|
|
- utils
|
2020-01-12 22:44:42 +01:00
|
|
|
- packages
|
|
|
|
|
2019-03-31 23:20:51 +02:00
|
|
|
exclude_paths:
|
2020-01-04 20:24:42 +01:00
|
|
|
- "/Source/"
|
|
|
|
- "/*Source/"
|
2019-10-02 22:13:37 +02:00
|
|
|
- "/Fixture/"
|
2019-04-29 06:18:05 +02:00
|
|
|
- "/Expected/"
|
2019-05-26 14:43:20 +02:00
|
|
|
|
2019-03-31 23:20:51 +02:00
|
|
|
# autoload-buggy cases
|
2019-09-23 13:43:13 +02:00
|
|
|
- "*.php.inc"
|
2019-03-31 23:20:51 +02:00
|
|
|
|
2019-12-09 01:18:28 +01:00
|
|
|
# so Rector code is still PHP 7.2 compatible
|
|
|
|
php_version_features: '7.2'
|
2020-05-22 11:02:44 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
Rector\DeadCode\Rector\ClassConst\RemoveUnusedPrivateConstantRector: null
|
|
|
|
Rector\SOLID\Rector\Class_\RepeatedLiteralToClassConstantRector: null
|