packagist vimeo/psalm 3.8.3

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

Features

  • allow generation of stubs from the analysed files with a --generate-stubs=output.php command (#827)

Bugfixes

  • Improve array function types (#2566)
  • Improve remapping of template params (#2567. #2569)
  • Prevent recursion infinite recursion when analysing @mixin in trait (#2565)
  • Remove previous assertions after incrementing variable (#2574, #2591)
  • Don't convert scalar terms in @method annotations like boolean (#2583)
  • Allow null argument in DateTime when a second argument is passed (#2590)
  • Don't crash when @param-out annotation is malformed (#2593)
  • Allow list to be cast to array (#2577)
  • Remove literal key values for known array shape when array_filter has a single arg (#2576)
  • Improve isset checks on null values (#2594)
  • Allow multiple inferred closure types (#2611)
  • Prevent unnecessary crashes in language server mode
  • Emit error on isset($someDefinedString) (#2614)
  • numerous bugs around list and non-empty-array annotations

Don't miss a new psalm release

NewReleases is sending notifications on new releases.