github phpstan/phpstan 1.12.6

12 hours ago

Bleeding edge 🔪

If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's phpstan.neon:

includes:
	- vendor/phpstan/phpstan/conf/bleedingEdge.neon

Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more

Improvements 🔧

Bugfixes 🐛

Function signature fixes 🤖

  • functionMap: a bit more precise get_defined_constants (#3537), thanks @janedbal!
  • token_name() returns non-empty-string (#3540), thanks @staabm!
  • curl_multi_getcontent() can return null (#3527), thanks @staabm!
  • Update SplFileInfo::getPathInfo return type (#3487), thanks @DannyvdSluijs!
  • Update return type of spl_autoload_functions on PHP8.0+ (#2810), thanks @ManuelHu!

Internals 🔍

Don't miss a new phpstan release

NewReleases is sending notifications on new releases.