Skip to content

1.10.15

Compare
Choose a tag to compare
@phpstan-bot phpstan-bot released this 09 May 15:30
· 1599 commits to 1.11.x since this release
762c4da

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 馃敡

  • Update phpdoc-parser to 1.20.4
    • Changelog
    • Notable changes:
      • CallableTypeNode - support object shape in return type
      • CallableTypeNode - support $this in return type
      • CallableTypeNode - support ConstTypeNode in return type
  • Implement IniGetReturnTypeExtension (#2362), #3063, thanks @staabm!
  • PHPStan\Node\ClassMethod is covered by BC promise (phpstan/phpstan-src@1036d19), #9249
  • Enforce magic __serialize() and __unserialize() return types (#2372), thanks @staabm!
  • Report ?-> call on always-null (phpstan/phpstan-src@74d1c9a), #9284

Bugfixes 馃悰

Function signature fixes 馃

  • intval() and floatval() should handle non-scalar values (#2351), thanks @dravnic!
  • More precise strval() family function signatures (#2354), thanks @dravnic!

Internals 馃攳