Creating Custom PHPStan and Rector Rules (Workshop)

static analysis phpstan rector workshop

Abstract

Master the art of customizing two of the PHP ecosystem's most powerful tools: PHPStan and Rector.

Custom PHPStan rules let you enforce project-specific coding standards, catch domain-specific bugs, and emulate features from other programming languages. Custom Rector rules help you automate and accelerate refactoring, keeping your codebase clean and maintainable.

This workshop walks through creating custom PHPStan rules to tailor static analysis to a project's unique needs, then applies those same principles to crafting custom Rector rules for automated refactoring tailored to codebases.


See more talks.

Events
SymfonyCon Amsterdam 2025 Nov 2025

[website]