github phpstan/phpstan 2.2.16

latest releases: 2.3.6, 2.3.5, 2.3.4...
one month ago

Bugfixes 🐛

  • Treat possible Error throws as an effect of an expression statement again (phpstan/phpstan-src@6a09253)
  • Keep a by-ref writeback's native type only when the written-back type fits it (#6564), thanks @SanderMuller!
  • Report worker peak memory when the result cache is used (#6576), thanks @alfredbez!
  • Compare ternary arm values, not their truthiness, in exact narrowing contexts (#6580), #15307, #15226
  • Keep the normalized branches of a traversed ConditionalType normalized, Narrow the parameter for nested conditions on the same parameter (#6586), #15310, #15296

Internals 🔍

  • Fix flaky tests (#6361)

Don't miss a new phpstan release

NewReleases is sending notifications on new releases.