mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-21 09:42:45 +01:00
39 lines
1.3 KiB
YAML
39 lines
1.3 KiB
YAML
imports:
|
|
- { resource: '../packages/**/config/config.yaml' }
|
|
- { resource: '../rules/**/config/config.yaml' }
|
|
- { resource: 'services.yaml' }
|
|
- { resource: 'parameters/parameter_name_guard.yaml' }
|
|
# only in local repository
|
|
# ignore errors, because utils are not part of composer package nor rector.phar
|
|
- { resource: '../utils/**/config/config.yaml', ignore_errors: true }
|
|
|
|
parameters:
|
|
# processed paths
|
|
paths: []
|
|
file_extensions:
|
|
- 'php'
|
|
|
|
# exclude
|
|
exclude_paths: []
|
|
exclude_rectors: []
|
|
|
|
autoload_paths: []
|
|
|
|
rector_recipe: []
|
|
|
|
# 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
|
|
|
|
# importing FQN names; false disables "import_short_classes" and "import_doc_blocks" options bellow
|
|
auto_import_names: false
|
|
# e.g. import \DateTime
|
|
import_short_classes: true
|
|
# e.g. /** @var \Some\ClassHere */
|
|
import_doc_blocks: true
|
|
|
|
# what PHP version is used for features, composer.json version, then local PHP version is used by default
|
|
php_version_features: null
|