PHP Dev
damienseguy's profile
Damien seguy@damienseguy•Feb 14
32.4K
Exakat's profile
Post cover image

PHPStan fully supports PHP 8.5!

From phpstan.org•Feb 14•7m read time

PHPStan 2.1.32 now fully supports PHP 8.5 features including the #[NoDiscard] attribute for preventing ignored return values, the pipe operator for cleaner function chaining, clone with property overrides for immutable objects, new array_first() and array_last() functions with precise type inference, and deprecated cast operators. The implementation includes smart type narrowing, non-ignorable errors for intentional attributes, and automatic AST rewriting for the pipe operator to work seamlessly with existing rules.

472 Impressions
damienseguy's user avatar
Damien seguy
@damienseguy
Joined Oct 25. 2023
32.4K
Exakat's profile

Exakat

Verified

PHP developer passionate about deep language knowledge, testing, static analysis, and sustainable it

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard