packagist vimeo/psalm 3.6.2

latest releases: 5.x-dev, dev-master, dev-isTypeContainedByType_flags...
4 years ago

Features

  • Psalm now prevents destructuring of non-arrays (#2220)

Bugfixes

  • Prevent fatal error when templated var has static return (#2192)
  • Load functions declared in a trait when a class using that trait is used (#2228)
  • Refine closure type even when a param type was declared, as long as they're compatible (#2215)
  • treat continuous assertions on interfaces as redundant (#2234, #2237)
  • Prevent fatal error when yielding from class with too many template params
  • Do better inference when yielding from lists (#2251)
  • Unused code detection fix false positive when incrementing var inside do-while condition (#2244)
  • Add better list type compatibility for array_merge and array_slice (#2235, #2246)

Don't miss a new psalm release

NewReleases is sending notifications on new releases.