Download Latest Version 2.3.6 source code.zip (31.2 MB)
Home / 2.3.4
Name Modified Size InfoDownloads / Week
Parent folder
phpstan.phar 2026-10-28 30.2 MB
phpstan.phar.asc 2026-10-28 833 Bytes
2.3.4 source code.tar.gz 2026-10-28 29.8 MB
2.3.4 source code.zip 2026-10-28 29.8 MB
README.md 2026-10-28 3.8 kB
Totals: 5 Items   89.8 MB 0

Bleeding edge 🔪

  • Reuse the errors of rules on CollectedDataNode from the result cache (#6840), thanks @SanderMuller!
  • CollectedDataNode rules no longer run every time after analysis. Their reported errors are saved and restored from the result cache. PHPStan tracks what collectors each rule queries for data, and re-runs the rule only when the specific collected data change.
  • Some extensions relying on running every time might need updating. Use the new dependency tracking APIs for proper result cache invalidation.

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:

    - vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Internals 🔍

Source: README.md, updated 2026-10-28