Better static analysis with entity type storages in phpstan-drupal 1.10
A year of something new and now for something different
9 years as a professional developer
PHPStan 1.0 and phpstan-drupal 1.0!
Upgrading Drupal should be and can be pretty easy with Composer. However, we currently have two or three packages that need to be updated whenever a new version of Drupal core comes out.
- drupal/core-recommended – Drupal core, itself
- drupal/core-composer-scaffold – Composer scaffolding for required files
- drupal/core-dev – Test and quality dependencies
Using Composer's wildcard abilities, we can get these upgraded in one shot:
composer update "drupal/core*" -W
The -W flag ensures all of the dependencies required by these packages are also updated.