github vimeo/psalm 5.13.0

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

What's Changed

Features

  • Add a support for multilevel glob wildcards by @2e3s in #9813
  • Mapping closed inheritance to union during assertion by @klimick in #9829
  • Use PHPStorm output format by default on JetBrains terminals by @lptn in #9848
  • sprintf basic non-empty-string return type provider by @kkmuffme in #9841
  • Extend Shepherd payload by information about package versions by @lptn in #9856
  • Allow if/false assert for same variable to allow array/list distinction by @kkmuffme in #9853
  • readonly does not have write access, therefore is safe as long as the… by @kkmuffme in #9887
  • Sprintf improve return param type validation by @kkmuffme in #9877
  • feat: cache.gz by @dkarlovi in #9889
  • make compressor configurable v2 by @kkmuffme in #9924
  • Invalidate cached methods when referenced files are deleted by @tscni in #9931
  • Invalidate cached methods when referenced class property types change by @tscni in #9955

Fixes

Docs

  • Document classAndDescendants configuration tag by @janopae in #9867

Internal changes

  • Introduce and use IssueData constants for severity levels by @lptn in #9846
  • Shepherd: send a list of issues (instead of array with int keys) by @lptn in #9845
  • fix failing mock tests by @kkmuffme in #9880
  • Bump mheap/github-action-required-labels from 4 to 5 by @dependabot in #9898
  • fix CI warnings for findUnusedCode in psalm 6 by @kkmuffme in #9915
  • docblock parser minor performance gain by @kkmuffme in #9916
  • improve perfs for switch by not creating reverse assertions against constants by @orklah in #9929
  • remove StementsVolatileCache for perf reasons by @orklah in #9930
  • put config to true to prevent deprecations for new config files by @orklah in #9857
  • Make config warn about missing cache related functions by @ygottschalk in #9935
  • Fix/cache fail silent by @ygottschalk in #9932

Typos

New Contributors

Full Changelog: 5.12.0...5.13.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.