Skip to content
Compare
Choose a tag to compare

0.11.4

@ondrejmirtes ondrejmirtes released this
· 4836 commits to master since this release
0.11.4
ccc4f85
Compare
Choose a tag to compare

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!