PHPStan: Static code analysis for Drupal core, modules and themes.

This presentation is about code quality, and finding bugs before they hit production. Also, PHPStan is great for finding problems caused by future Drupal updates, ahead of time.

I will show how to install and use PHPStan with Drupal code. In my examples, I will show how to analyze contrib modules and core for maintainers. I will also show in detail how to analyze custom, non-public code written by or for your organization. 

As the last step, I will show examples for your GitLab CI pipelines. No worries if you don't use DevOps or continuous integration yet: I will explain and show all the steps thoroughly.

To follow the presentation, no coding or command line experience is needed, but an interest in technical topics is mandatory.

Audience
Experience Level
Beginner
Session Track