github vimeo/psalm 6.20.4

2 hours ago

What's Changed

Fixes

  • [6.x] Fix: class_alias() of an enum, interface, attribute, trait or type holder crashes with Could not get class storage by @alies-dev in #12518
  • [6.x] Fix: type imported through a class_alias() is lost inside an intersection by @alies-dev in #12569
  • [6.x] Fix: accept TLiteralClassString of a trait as trait-string by @no-simpler in #11783
  • [6.x] Fix: false InvalidAttribute for #[\Deprecated] on traits (PHP 8.5) by @alies-dev in #12277
  • [6.x] Narrow Redis keys(), hKeys() and hVals() to lists, declare RedisException and RedisClusterException by @alies-dev in #12581
  • [6.x] Fix crash on first-class callable of inherited method by @alies-dev in #12582

Internal changes

  • [6.x] Perf: update the reference cache once per analysis by @alies-dev in #12575
  • Add a #psalm hashtag to release announcements by @danog in #12584

New Contributors

Full Changelog: 6.20.3...6.20.4

Don't miss a new psalm release

NewReleases is sending notifications on new releases.