Created
May 5, 2020 14:31
-
-
Save nerdstein/1374b5fa5d9fa44e472f03dc603712c6 to your computer and use it in GitHub Desktop.
rector.yml
This file contains hidden or 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
| # From: https://github.com/palantirnet/drupal-rector/blob/master/rector.yml | |
| 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' | |
| - '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