Improvements 🔧
- Check
continue
/break
outside of loop and switch (level 0) (https://github.com/phpstan/phpstan-src/commit/df5c98d7bc071b5fd46ecde4c4a3886285315133), #3588, #794
Bugfixes 🐛
- Fix result cache for ever-changing Git commit in
vendor/composer/installed.php
(https://github.com/phpstan/phpstan-src/commit/6367eb6d090a48801c0a5c7ec5254339efcb433f), #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 (https://github.com/phpstan/phpstan-src/commit/ec2ef2af56f20ed51155a91e897c4598443bc7b6), #4550
- Fixed inferring from nested generic
class-string<T>
(https://github.com/phpstan/phpstan-src/commit/a7a46b11ce41debc24bfb7d223e6331276abf4ab), #4552, #4249
Function signature fixes 🤖
- Fixed return type of
simplexml_import_dom
(https://github.com/phpstan/phpstan-src/commit/270d507b821b95922140b9e0559cfe515e4ea58f), #4536
Redis::auth()
method also accepts array (#449), thanks @mvorisek!
proc_get_status()
- array shape for PHP 8 (https://github.com/phpstan/phpstan-src/commit/f9c571415cfffd0c8c932bd2dd258151cd4670bc)