Skip to content

0.11.4

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 14 Mar 15:19

If you want to see the shape of things to come (rules and other features that will arrive in next major version 0.12), 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.

Improvements

  • Detect invalid service in conditionalTags config section (400acf6)

Bugfixes

  • Fixed multiple array_key_exists in || (d0da752), #1966
  • Fixed __NAMESPACE__ magic constant value (0d4619b), #1986
  • Fixed: Foreach with continue in a branch is not always terminating (9d42bc1), #1972
  • Fixed: Marks incremented array key as repeated (ccc4f85), #1845

Function signature fixes

  • Fix void return typehint for Ds\Set::last() (#1967), thanks @enumag!
  • Fix Memcached::getAllKeys() signature (#1970), thanks @ADmad!
  • Allow first parameter of DOMDocument::saveXML to be null (#1975), thanks @waahhhh!