Custom PHPStan Rules: Automate Standards and Save Time


Abstract

PHPStan is best known for its ability to catch bugs, but did you know it can do so much more?

By creating custom PHPStan rules you can enforce your project-specific coding standards, automate tedious review tasks, and ensure a consistent codebase - all without manual intervention.

This talk will guide you through step by step the process of creating a custom PHPStan rule. By the end of the talk, you'll have the knowledge and confidence to craft your own PHPStan rules, helping your team reduce bugs, save time, and focus on what matters most: writing great code.


See more talks.

Events
phpDay May 2025

[slides] [website]