Skip to content

0.4.1

Compare
Choose a tag to compare
@ondrejmirtes ondrejmirtes released this 06 Dec 12:00

Enhancements:

  • When there are no errors in an analysis with the default rule level, print a note about the default level being used and the option to perform more thorough checks with a higher rule level. (But the user can safely ignore this message and continue using the default level, he just should be aware that he's not using PHPStan to its full potential.)
  • Print a more friendly message when a class is not found due to a misconfigured autoloading.

Bugfixes:

  • iterable accepts any object that implements the \Traversable interface
  • Fixed resolving and checking nullable return types in anonymous functions
  • Fixed short array destructuring syntax in foreach