github vimeo/psalm 5.22.0

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

What's Changed

Features

  • Allow inline comments in typedef shapes by @weirdan in #10623
  • allow typedef imports from any kind of classlike by @weirdan in #10625
  • Allow enum cases to be global constants by @weirdan in #10634
  • New InvalidOverride issue for Override attribute by @edsrzf in #10644
  • Analyze dynamic names for static property and const fetches by @edsrzf in #10629
  • New MissingOverrideAttribute issue by @edsrzf in #10651
  • Flag stdClass::__construct() calls that have arguments by @weirdan in #10661
  • Improve Reflection stubs by @vudaltsov in #10091
  • Forbid constructors from returning any values by @weirdan in #10686
  • Report first class callables generated for unknown static methods by @weirdan in #10691
  • Process @psalm-this-out on __construct() as well by @weirdan in #10690
  • Report invalid number of arguments for psalm-taint-* by @staabm in #10699

Fixes

Internal changes

  • Drop unused local composer repo by @weirdan in #10647
  • Clarify that Pull request labels failure is to be resolved by maintainers by @weirdan in #10649
  • Fix unstable hasFullyQualified(Interface|Enum)() by @weirdan in #10603
  • Revert partial mistakenly pushed fix by @danog in #10671

Full Changelog: 5.21.1...5.22.0

Don't miss a new psalm release

NewReleases is sending notifications on new releases.