Getting the Most Out of PHPStan

Workshop day
10:00 - 13:00 CEST

PHP is nothing like compiled languages. If you make a mistake, the program will crash when the line of code with the mistake is executed.

When testing a PHP application, whether manually or automatically, developers spend a lot of their time discovering mistakes that wouldn’t even compile in other languages, leaving less time for testing actual business logic.

PHPStan is a popular static analyser focused on finding bugs in your code. By leveraging the strength of PHP type system further enhanced in PHPStan itself, developers can create robust applications and discover bugs early in the development process. The aid the tool provides during refactoring is also indispensable.

What you'll learn from this talk:
  • In this workshop, you will learn how to install, configure and run PHPStan
  • Receive tips on how to write code so that PHPStan can be as powerful as possible
  • You will also be able to write your own PHPStan rules.