Running static analysis on your codebase can discover a lot of bugs and documentation issues. It can find errors like calling an undefined method, unknown classes in typehints, whether a method returns the same type it declares to return etc. It also reduces the need for unit testing the wiring of your code so you can focus on business logic. I set out to create a static analysis tool that is fast, extensible and user-friendly. It's called PHPStan and I'd love to tell what it can do for you. In this workshop, I'll show you various features and performed checks of PHPStan, how to configure it properly and get the most out of it. Bring your own code and I'll help you to integrate PHPStan into your workflow.

Comments

Comments are closed.