Improvements 🔧
- Detect more unused function calls (generate
functionMetadata.php
from PhpStorm stubs'#[Pure]
attribute) (phpstan/phpstan-src@2817690)
Bugfixes 🐛
- Scope - any variable after
extract()
call might exist (phpstan/phpstan-src@d3e7b9c), #3990 - Fix false positive with
isset()
andempty()
(phpstan/phpstan-src@05942ca), #3991 - Fixed
assert()
bug (phpstan/phpstan-src@ca044c4), #3994 array_shift()
should invalidate rememberedcount()
call (phpstan/phpstan-src@26d29ec), #3993- Do not complain about non-covariant return type in
count()
method in implementations of Countable interface (MethodSignatureRule - read PHPDoc types instead of combined types) (phpstan/phpstan-src@fb8d3ef), #3997 - Fix literal array with empty item outside of left-side assign (phpstan/phpstan-src@a97477b), #4000