2019-02-03 18:46:45 +01:00
imports :
- { resource : '../packages/**/config/config.yaml' }
2020-02-11 13:39:30 +01:00
- { 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
- { 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 : [ ]
2019-02-03 18:46:45 +01:00
exclude_paths : [ ]
exclude_rectors : [ ]
autoload_paths : [ ]
2019-12-09 06:13:33 +01:00
rector_recipe : [ ]
2019-07-21 09:55:35 +02:00
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"
2020-01-05 00:16:49 +01:00
# 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
2020-02-01 10:41:31 +01:00
nested_chain_method_call_limit : 30
2020-01-05 00:16:49 +01:00
2019-11-08 22:52:23 +01:00
# importing FQN names
2019-12-20 07:40:36 +01:00
auto_import_names : false
2019-11-08 22:52:23 +01:00
# 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
2019-11-10 18:40:16 +01:00
2019-04-02 09:24:38 +02:00
file_extensions :
2019-11-08 22:52:23 +01:00
- 'php'