PHPStan, the static analysis tool for PHP, have just released version 0.11.7 with several improvements and bugfixes. The new release brings support for new extension type – overloading operators. It’s now possible to write extensions so that PHP extensions like GMP or PHP Decimal are understood correctly by static analysis. The config validation have been also improved.

Released with PHPStan, the phpstan-doctrine extension 0.11.3, which builds upon DQL validation from previous releases. It analyses DQLs generated by Query Builders, and even in very dynamic code with conditionals that lead to multiple possible DQLs. Another whole class of bugs eliminated!

Finally after you install phpstan/extension-installer you no longer have to care about including extensions’s neon files in your phpstan.neon. It finds them automatically ! Official 1st party extensions are supported on day one :



Please enter your comment!
Please enter your name here