github phpstan/phpstan 1.11.4

latest release: 1.11.5
20 days ago

Improvements 🔧

Bugfixes 🐛

  • Consider numeric-string types after string concat (#3117), thanks @staabm!
  • Fix type loss with recursive count() (#2812), thanks @staabm!
  • array_slice() returns non-empty-array for existing offsets and positive limit (#3124), #10721, thanks @staabm!
  • Consider a ClosureType() as maybe impure by default when no $impurePoints array provided (#3125), #11135, thanks @jf-m!

Function signature fixes 🤖

  • Make the return type of tempnam() and tmpfile() to benevolent union (#3111), thanks @zonuexe!
  • Fix gnupg_init function (#3118), thanks @pistej!

Internals 🔍

Don't miss a new phpstan release

NewReleases is sending notifications on new releases.