2019-02-03 17:46:45 +00:00
imports :
- { resource : '../packages/**/config/config.yaml' }
2020-02-11 12:39:30 +00:00
- { resource : '../rules/**/config/config.yaml' }
2019-02-03 17:46:45 +00:00
- { resource : 'services.yaml' }
2020-05-11 12:37:23 +00:00
- { resource : 'parameters/parameter_name_guard.yaml' }
2019-02-21 14:36:16 +00:00
# only in local repository
2020-01-21 22:52:44 +00:00
# ignore errors, because utils are not part of composer package nor rector.phar
2020-04-04 21:16:44 +00:00
- { resource: '../utils/**/config/config.yaml', ignore_errors : true }
2019-02-03 17:46:45 +00:00
parameters :
2019-11-10 17:40:16 +00:00
# processed paths
paths : [ ]
2020-04-03 10:33:45 +00:00
file_extensions :
- 'php'
# exclude
2019-02-03 17:46:45 +00:00
exclude_paths : [ ]
exclude_rectors : [ ]
2020-04-03 10:33:45 +00:00
2019-02-03 17:46:45 +00:00
autoload_paths : [ ]
2020-04-03 10:33:45 +00:00
2019-12-09 05:13:33 +00:00
rector_recipe : [ ]
2019-07-21 07:55:35 +00:00
2020-02-25 20:25:00 +00: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-04 23:16:49 +00: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 09:41:31 +00:00
nested_chain_method_call_limit : 30
2020-01-04 23:16:49 +00:00
2020-04-03 10:33:45 +00:00
# importing FQN names; false disables "import_short_classes" and "import_doc_blocks" options bellow
2019-12-20 06:40:36 +00:00
auto_import_names : false
2019-11-08 21:52:23 +00:00
# e.g. import \DateTime
import_short_classes : true
# e.g. /** @var \Some\ClassHere */
import_doc_blocks : true
2019-09-28 11:30:09 +00:00
2019-11-10 17:40:16 +00:00
# what PHP version is used for features, composer.json version, then local PHP version is used by default
2020-01-05 19:00:32 +00:00
php_version_features : null
2020-06-16 19:43:45 +00:00
# false = use types from docblocks; true = only from PHP types, e.g. for typed properties
safe_types : false