github vimeo/psalm 5.7.0

latest releases: 5.26.1, 5.26.0, 5.25.0...
19 months ago

What's Changed

Deprecations

  • Deprecate FunctionLikeStorage::$unused_docblock_params by @weirdan in #9312

Features

  • #7387 Add asserting non-empty-string by strlen by @LeoVie in #8761
  • Forbid implementing some interfaces by @weirdan in #9272
  • Added issue type and psalm.dev link to Emacs report by @weirdan in #9299
  • Allow @var annotations on global vars by @weirdan in #9301
  • Allow suppressing MissingThrowsDocblock for individual exceptions by @weirdan in #9303
  • Flag direct constructor calls by @weirdan in #9311
  • Flag docblock parameters that have no counterparts in function signature by @weirdan in #9314
  • Forbid non-null defaults for callable parameters by @weirdan in #9316

Fixes

Docs

Internal changes

Other changes

  • Remove some logic that didn't need to be there by @muglug in #9209

New Contributors

Full Changelog: 5.6.0...5.7.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.