This is a massive release that has been in the works for the past six months. We’ve managed to churn out minor releases even during the development of this new major version.
Generics is a really complex topic. It’s basically a programming language inside a programming language.
The fundamental way of how PHPStan handles and accommodates analysis of codebases of varying quality is the concept of rule levels.
Once a year, new minor PHP version is released, and every few years, there’s a new major version. And as the language moves forward, the tooling that goes with it has to move forward too.
PHPStan is a static analyser that focuses on finding bugs in your code before you even run it. Its unique extensibility allows it to correctly interpret common magic behavior of PHP like __call(), __set(), __get(), and offer static analysis in areas where it was considered impossible.
PHPStan has had a wonderful year 2018. The adoption increased from 3,200 daily downloads to 9,800.