 [ ← blog / phpstan ](/) Nov 01, 2021  ·  \#phpstan  ·  1 min read 

# PHPStan 1.0 and phpstan-drupal 1.0!



Congratulations to Ondřej for [releasing PHPStan 1.0](https://phpstan.org/blog/phpstan-1-0-released) today! Years ago, folks weren't thinking very much about static analysis in PHP. PHPStan's first release was back in [July 2016](https://github.com/phpstan/phpstan/releases/tag/0.1), with Vimeo's Psalm released shortly [later in November](https://github.com/vimeo/psalm/commit/09a1a92a8e0d41cfb3790e17cd65330e601f66ee). 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](https://esteemed.io/), I contributed two fixes to PHPStan that'll help out folks as we prepare to move onto PHP 8.

- [NativeFunctionReflection deprecated support](https://github.com/phpstan/phpstan-src/pull/713): PHPStan will now detect usages of deprecated native PHP functions (like `each` and `create_function`) when you use the [phpstan-deprecation-rules](https://packagist.org/packages/phpstan/phpstan-deprecation-rules) package.
- [define: case\_insensitive is ignored, case-insensitive constants are no longer supported](https://github.com/phpstan/phpstan-src/pull/589): 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](https://github.com/sponsors/mglaman) and live stream sponsor [Palantir.net](https://www.palantir.net/).

 [Release 1.0.0 · mglaman/phpstan-drupal

What's Changed  
  
🥳 PHPStan 1.0 by @mglaman in #214  
  
Full Changelog: 0.12.15...1.0.0

https://github.com/mglaman/phpstan-drupal/releases/tag/1.0.0

 

 ![Release 1.0.0 · mglaman/phpstan-drupal](https://opengraph.githubassets.com/76afc7c95a36c6c2d7b7405315ec06675f76578b2e9072c7ee64571d3e85d79f/mglaman/phpstan-drupal/releases/tag/1.0.0) 

 

 

 ](https://github.com/mglaman/phpstan-drupal/releases/tag/1.0.0)  

  ![](/themes/custom/mglaman/images/headshot.webp)Thanks for reading

I write about Drupal, PHP, and the quiet infrastructure behind large sites — caching, config, and testing. New posts land every week or two.

 [Subscribe via RSS →](/rss.xml) [About me →](/about-me) 

 



 

  [← Older

phpstan-drupal 0.12.15: Improved detection of deprecated service usage

 ](/blog/phpstan-drupal-01215-improved-detection-deprecated-service-usage) [Newer →

9 years as a professional developer

 ](/blog/9-years-professional-developer)