github vimeo/psalm 6.19.2

5 hours ago

What's Changed

Features

Fixes

  • [6.x] Fix implode() inferring non-empty-string for possibly empty elements (backport) by @alies-dev in #12054
  • [6.x] Fix: respect ERROR_LEVEL for plugin-defined issues (backport) by @alies-dev in #12060
  • [6.x] Fix InvalidCast when casting a type variable to string (backport) by @alies-dev in #12055
  • [6.x] Fix crash on multibyte literal haystack on PHP 8.5 (backport) by @alies-dev in #12053
  • [6.x] Support parenthesized union types in @method parameters (backport) by @alies-dev in #12057
  • [6.x] Resolve parent:: first-class callables of @method pseudo-methods by @alies-dev in #12148
  • [6.x] Fix: type aliases depend on declaration order by @alies-dev in #12149
  • Reset $_SESSION after session_unset() by @TheNetherWatcher in #12087
  • [6.x] Model nullsafe short-circuiting across the whole chain by @alies-dev in #12064

Docs

Internal changes

  • [6.x] Allow plugin issues to specify custom documentation URLs (backport) by @alies-dev in #12061

Other changes

  • Fix LSP lookup of functions declared in included files by @M393 in #12080

New Contributors

Full Changelog: 6.19.1...6.19.2

Don't miss a new psalm release

NewReleases is sending notifications on new releases.