Goal: Improve automation of updating contributed projects (modules & themes) to Drupal 10
 

Tools:

  • Drupal Rector - A developer utility for automatically upgrading deprecated code for Drupal 9 and Drupal 10
  • Upgrade Status - A module you can run on Drupal 8 and Drupal 9 sites to see if the site's modules and themes are compatible for Drupal 9 and Drupal 10, respectively
  • phpstan-drupal - An extension for PHPStan to allow analysis of Drupal code via the command-line (Upgrade Status uses this behind the scenes)

Documentation:

Testing:

Help test the Rector 0.10 upgrade:

cd /path/to/drupal/recommended-project composer config repositories.1 git@github.com:bluehorndigital/drupal-rector.git composer require palantirnet/drupal-rector:dev-rector-0.10

Rector Data:

Here is a recent analysis of Drupal 9 projects for Drupal 10 compatibility. This data can be used to prioritize writing rectors. Note, it takes awhile for the page to load.

https://dispatcher.drupalci.org/job/project_analysis_d10/11/artifact/phpstan-results/