Skip to content

Commit

Permalink
Update core_plugin_conversion.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala authored Mar 11, 2024
1 parent dc2e858 commit 43b3b9b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/core_plugin_conversion.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Core annotation to attribute conversion

To convert a plugin in core from an annotation to an attribute, you need to do the following:
To convert a plugin in core from an annotation to an attribute, you need to do the following after checking out core.

## Install drupal-rector

Adding `-W` since PHPStan needs updateing.

```bash
composer require --dev palantirnet/drupal-rector
composer require --dev palantirnet/drupal-rector -W
```

## Configure drupal-rector (rector.php)
Expand Down

0 comments on commit 43b3b9b

Please sign in to comment.