rector/rector.yaml

35 lines
675 B
YAML
Raw Normal View History

imports:
2020-04-03 15:28:29 +02:00
- { resource: "create-rector.yaml", ignore_errors: 'not_found' }
services:
2020-06-18 23:13:27 +02:00
Rector\Autodiscovery\Rector\FileSystem\MoveInterfacesToContractNamespaceDirectoryRector: null
2019-03-31 23:20:51 +02:00
parameters:
2020-04-01 03:55:44 +02:00
# bleeding edge feature
# 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
- rules
- utils
2020-01-12 22:44:42 +01:00
- packages
2019-03-31 23:20:51 +02:00
exclude_paths:
- "/Source/"
- "/*Source/"
- "/Fixture/"
2019-04-29 06:18:05 +02:00
- "/Expected/"
2019-03-31 23:20:51 +02:00
# autoload-buggy cases
- "*.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'