Matt Glaman: Testing your Drupal code base for deprecated code usage with PHPStan

Testing your Drupal code base for deprecated code usage with PHPStan
Sunday 3, February 2019
mglaman

Last month I wrote about writing better Drupal code with static analysis using PHPStan. One of the more practical uses I saw for PHPStan and Drupal was the discovery of deprecated code usages through the phpstan/phpstan-deprecation-rules package. I had not fully tested it, until this week.