Congratulations to Ondřej for releasing PHPStan 1.0 today! Years ago, folks weren't thinking very much about static analysis in PHP. PHPStan's first release was back in July 2016, with Vimeo's Psalm released shortly later in November. Now static analysis of PHP code is a hot topic, and PHPStan has become a defacto tool in a developers toolset.
Thanks to sponsored live streaming sponsor Esteemed, I contributed two fixes to PHPStan that'll help out folks as we prepare to move onto PHP 8.
- NativeFunctionReflection deprecated support: PHPStan will now detect usages of deprecated native PHP functions (like
each
andcreate_function
) when you use the phpstan-deprecation-rules package. - define: case_insensitive is ignored, case-insensitive constants are no longer supported: report when using the ignored case insensitive parameter with PHP 8.
I have also released phpstan-drupal 1.0.0 that is compatible with PHPStan 1.0! The release was made possible thanks to my GitHub Sponsors and live stream sponsor Palantir.net.
Want more? Sign up for my weekly newsletter