Library PHP Tek 2026 Custom PHPStan Rules: Automate Standards and Save Time
PHP Tek TV

Log in to watch this talk

You need to be logged in to access this video. If you don't have an account, purchase a virtual pass for the latest php[tek] conference to get access to the full video library.

Custom PHPStan Rules: Automate Standards and Save Time

Dave Liddament Dave Liddament PHP Tek 2026 Advanced Standard (50 minutes)

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.