Besides the traditional rule levels 0 through 9 which allow developers to adopt PHPStan incrementally while increasing the strictness gradually, the static analyser offers plenty of other configuration options to look at the code with a critical eye.

In this talk I'll show you these options with examples of practical impact on your code. It will become more predictable and readable.

Comments

Please login to leave a comment

First time seeing you in person, and I enjoyed the talk. My code definitely wouldn’t pass strict rules 😅

Talk was good, if a little dry. Would have been cool to see something executed during the talk. Perhaps, it would be neat to run checks while increasing the level so show how the levels affect a real codebase.