1.4.8
Improvements 馃敡
- Validate
ignoreErrors
regexes during DIC compilation (save time in each run) (phpstan/phpstan-src@692158c), #6693 - Validate
parametersSchema
only during DIC compilation (phpstan/phpstan-src@50f25e9) - Retain left and right types in
==
and===
expression (#1046), thanks @herndlm! - Add support for integer ranges in
strtotime()
with constant strings (#1045), thanks @Seldaek!
Bugfixes 馃悰
- Fix
is_subclass_of
with same class (#1044), #6305, thanks @herndlm! - Fix Incorrectly nested style tag found for narrow terminals (phpstan/phpstan-src@d921d06), #6724, #6727
- Empty array infers key and value type as never (phpstan/phpstan-src@c2b9e71), #3400, #6353, #5757, #5065
ArrayType::traverse()
- create emptyConstantArrayType
in case ofnever
(phpstan/phpstan-src@8c1dfc1)