Improvements 馃敡
- Stricter
@phpstan-ignore
identifiers parser (#3079, #3090, #3091), thanks @janedbal!- The parser now rejects some syntax that was possible but undocumented in 1.11.0 and 1.11.1
- The parser now allows to attach comment to each single identifier in a list:
@phpstan-ignore identifier (comment), identifier2 (comment2)
- Resolving type of closure - get
$passedToType
frominFunctionCallsStack
(phpstan/phpstan-src@ca41b7d, phpstan/phpstan-src@da4fd7a), #5508, #10254, #10732 - Do not lose generic type when the closure has native return type (phpstan/phpstan-src@7e9cd45), #9086
Function signature fixes 馃
Internals 馃攳
- Fix Composer by referencing deleted tag of
nette/di
(phpstan/phpstan-src@2ab647e) - Specify
array_filter
callbacks (phpstan/phpstan-src@754b7b8) - Add
@api
annotation toAcceptsResult::__construct
(#3092), thanks @canvural!