PHPStan v0.12.31 Release Notes
Release Date: 2020-06-24 // almost 4 years ago-
๐ Bugfixes ๐
- Subclasses of PDO are analysed using static reflection (phpstan/phpstan-src@8390949), #3527
- ๐ Fix problems related to conditional declarations of classes - #3522
- Dive into a trait that starts on the same line as the one in the reflection (phpstan/phpstan-src@e6dd87b), #3460
๐ฑ Function signature fixes ๐ค
ZipArchive::open()
returns true on success, int (error code) on failure (#253), thanks @dktapps!mysqli_stmt_fetch()
andmysqli_stmt::fetch()
can return NULL (#255), thanks @morozov!openssl_pkey_export()
allows null for the passphrase (#256), thanks @ConradSollitt!- Fix
enchant_broker_list_dicts()
return type (#257), #3530, thanks @villfa! - correct return value for PHP internal functions on failure (#258), thanks @peter-gribanov!
- ๐ Fix return type & callback type hints for Redis::subscribe() (#259), thanks @hollodotme!