Features
- allow generation of stubs from the analysed files with a
--generate-stubs=output.php
command (#827)
Bugfixes
- Improve array function types (#2566)
- Improve remapping of template params (#2567. #2569)
- Prevent recursion infinite recursion when analysing
@mixin
in trait (#2565) - Remove previous assertions after incrementing variable (#2574, #2591)
- Don't convert scalar terms in
@method
annotations likeboolean
(#2583) - Allow
null
argument inDateTime
when a second argument is passed (#2590) - Don't crash when
@param-out
annotation is malformed (#2593) - Allow
list
to be cast to array (#2577) - Remove literal key values for known array shape when
array_filter
has a single arg (#2576) - Improve
isset
checks onnull
values (#2594) - Allow multiple inferred closure types (#2611)
- Prevent unnecessary crashes in language server mode
- Emit error on
isset($someDefinedString)
(#2614) - numerous bugs around
list
andnon-empty-array
annotations