Created
May 23, 2020 05:55
-
-
Save tsega/33e39a5a959adc880ba94820e5b4ab2d to your computer and use it in GitHub Desktop.
Sample Drupal Rector configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
imports: | |
- { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8-all-deprecations.yml" } | |
# includes: | |
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.0-deprecations.yml" } | |
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.4-deprecations.yml" } | |
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.5-deprecations.yml" } | |
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.6-deprecations.yml" } | |
# - { resource: "vendor/palantirnet/drupal-rector/config/drupal-8/drupal-8.7-deprecations.yml" } | |
parameters: | |
autoload_paths: | |
- 'web/core' | |
- 'web/core/modules' | |
- 'web/modules/contrib' | |
- 'web/themes/contrib' | |
- 'web/profiles' | |
file_extensions: | |
- module | |
- theme | |
- install | |
- profile | |
- inc | |
- engine | |
# Create `use` statements. | |
auto_import_names: true | |
# Do not convert `\Drupal` to `Drupal`, etc. | |
import_short_classes: false | |
# This will not import classes used in PHP DocBlocks, like in /** @var \Some\Class */ | |
import_doc_blocks: false | |
services: ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment