1.10.40
版本发布时间: 2023-10-30 22:49:29
phpstan/phpstan最新发布版本:1.12.6(2024-10-06 23:06:59)
Improvements 🔧
- TemplateTypeCheck tries to resolve template type names such as
self
because they're not usable (https://github.com/phpstan/phpstan-src/commit/c6fad644c7906577e0e360651a5db467a5bca750), #10049
Bugfixes 🐛
- Fix used memory reporting (#2686), thanks @staabm!
- Fix switch statement with enum in the condition (#2687), #9806, thanks @schlndh!
- Fix null coalesce assignment type (#2702), #9995, thanks @hirokinoue!
- Fix
!==
with union of constants (#2700), #10002, thanks @schlndh! - Process statements inside
declare(ticks=...)
(https://github.com/phpstan/phpstan-src/commit/eb39381d2a3fd370d9881aacebabb3b17c06678a), #10059 - Fix crash when template types map and variances map are not of equal length (https://github.com/phpstan/phpstan-src/commit/1308c520e763e286809f01a4100af8ba156c1d34), #10049
Function signature fixes 🤖
- functionMap.php fixes for YAF 3.3.5 (#2696), thanks @mbakirov!
- Remove
\
from DateTimeZone in functionMap (#2693), thanks @simPod! - Allow
Redis::pconnect
to have 7 parameters (#2695), thanks @Vaalyn!
Internals 🔍
1、 phpstan.phar 21.08MB
2、 phpstan.phar.asc 833B