rector/config/config.yaml

38 lines
1.3 KiB
YAML
Raw Normal View History

2019-02-03 18:46:45 +01:00
imports:
- { resource: '../packages/**/config/config.yaml' }
- { resource: '../rules/**/config/config.yaml' }
2019-02-03 18:46:45 +01:00
- { resource: 'services.yaml' }
2019-02-21 15:36:16 +01:00
# only in local repository
2020-01-21 23:52:44 +01:00
# ignore errors, because utils are not part of composer package nor rector.phar
2020-04-04 23:16:44 +02:00
- { resource: '../utils/**/config/config.yaml', ignore_errors: true }
2019-02-03 18:46:45 +01:00
parameters:
2019-11-10 18:40:16 +01:00
# processed paths
paths: []
2020-04-03 12:33:45 +02:00
file_extensions:
- 'php'
# exclude
2019-02-03 18:46:45 +01:00
exclude_paths: []
exclude_rectors: []
2020-04-03 12:33:45 +02:00
2019-02-03 18:46:45 +01:00
autoload_paths: []
2020-04-03 12:33:45 +02:00
rector_recipe: []
2020-02-25 21:25:00 +01:00
# this helps to separate opened 3rd party code vs private code approach (e.g. use of public constants)
project_type: "proprietary" # or "open-source"
# lower for performance; higher to prevent bugs with fluent interfaces like https://github.com/rectorphp/rector/issues/1646, or https://github.com/rectorphp/rector/issues/2444
nested_chain_method_call_limit: 30
2020-04-03 12:33:45 +02:00
# importing FQN names; false disables "import_short_classes" and "import_doc_blocks" options bellow
2019-12-20 07:40:36 +01:00
auto_import_names: false
# e.g. import \DateTime
import_short_classes: true
# e.g. /** @var \Some\ClassHere */
import_doc_blocks: true
2019-09-28 13:30:09 +02:00
2019-11-10 18:40:16 +01:00
# what PHP version is used for features, composer.json version, then local PHP version is used by default
2020-01-05 20:00:32 +01:00
php_version_features: null