Skip to content

Instantly share code, notes, and snippets.

@ainsofs
Last active April 9, 2024 20:58

install upgrade status

composer require drupal/upgrade_status --dev
drush en upgrade_status

analyse custom modules

drush upgrade_status:analyze --all --ignore-contrib

install drupal rector for automated fixes

composer require --dev palantirnet/drupal-rector -W
cp vendor/palantirnet/drupal-rector/rector.php .

analyse custom modules

vendor/bin/rector process web/*/custom --dry-run

auto fix custom modules

vendor/bin/rector process web/*/custom

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment