Skip to main content
[2026-03-24]

Catch @todo comments referencing the current issue

#drupal #phpstan-drupal

When making code changes or fixing issues, it's easy to leave @todo comments behind. Sometimes they mark areas waiting on an upstream fix, sometimes they're reminders that never got revisited. Either way, they accumulate — and the ones tied to the specific issue you're working on should be resolved before the MR merges.

[2022-01-06]

Documenting PHPStan + Drupal!

#drupal #phpstan #phpstan-drupal

In the early days of Drupal 9, most folks were only using PHPStan on their Drupal sites via drupal-check for deprecation checks. I am excited to see more folks using PHPStan directly with phpstan-drupal to perform static analysis and deprecation checks.