Improvements 🔧
- Check
continue
/break
outside of loop and switch (level 0) (phpstan/phpstan-src@df5c98d), #3588, #794
Bugfixes 🐛
- Fix result cache for ever-changing Git commit in
vendor/composer/installed.php
(phpstan/phpstan-src@6367eb6), #4542 - Avoid false-positive "Offset does not exist" on
isset()
(#452), thanks @VincentLanglet! - Fix function signatures with multiple variants on PHP 8 (#453), #4538, #4530
- CallStaticMethodsRule - fix case with non-object class-string (phpstan/phpstan-src@ec2ef2a), #4550
- Fixed inferring from nested generic
class-string<T>
(phpstan/phpstan-src@a7a46b1), #4552, #4249
Function signature fixes 🤖
- Fixed return type of
simplexml_import_dom
(phpstan/phpstan-src@270d507), #4536 Redis::auth()
method also accepts array (#449), thanks @mvorisek!proc_get_status()
- array shape for PHP 8 (phpstan/phpstan-src@f9c5714)