Besides the traditional rule levels 0 through 9 (https://phpstan.org/user-guide/rule-levels) 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

Gene Surov at 16:21 on 19 May 2022

Awesome talk by the author of PHPStan!
Ondřej covered in the very details the tips & tricks of PHPStan as well as how to start with it and how to proceed to find and fix the problems in your code.

Kudos to the creator of PHPStan, the popular open-source static analysis tool.

Lot of useful insights during the talk.

Don't forget we can support Ondřej's work on https://github.com/sponsors/ondrejmirtes

When you thought that you reached the end of the possible strictness, more was there to be discovered!
Great talk, stared wide and went into very great detail.

James Titcumb at 17:17 on 19 May 2022

Great talk and exploration of pushing strictness up (and how to not lose your mind doing it!) in phpstan. Nice and technical talk.

Great close look of PHPStan, with special attention to bring value rather than chasing useless perfection.
With a calm attitude, the speech can reach the stars.

dParadiz at 08:17 on 20 May 2022

Well presented details of PHPStan.

Gregor Novak at 09:11 on 20 May 2022

Very nice talk about raising strictness levels in PHPStan and also about extensions which i did not know about until this talk.

Matteo Contri at 09:22 on 20 May 2022

Too much time spent on configuration info, I'd prefer more focus on strategies how to cover old code by static analyzer; but still interesting

Nothing more to say than: This was excellent and absolutely worthwile!

Awesome tool. Didn't know the super mega ultra advanced strictness, must try It!

Awesome, great talk and great insights from the creator of PHPStan!

Andrea Sprega at 22:43 on 22 May 2022

Very insightful talk on how to push PHPStan to the maximum. One of the few talks from which I got immediately applicable advices for my projects.

Erik Pöhler at 23:36 on 22 May 2022

Ondrej gave a great in-depth introduction on PHPStan and the possibilities in fine-tuning settings in order to adapt PHPStan to ones individual requirements.

Great talk be the author of phpstan himself! Even as a frequent user of the tool, there were many interesting learnings.

There's so much more to PHPStan than I had known so far. Thanks for the insights!