1.4.3
Improvements 馃敡
- Support for
--memory-limit
CLI option inclear-result-cache
command (phpstan/phpstan-src@156700b), #6432 - Pass verbosity to workers and show stack trace on error (#935), thanks @benja-M-1!
- Move collecting errors from error handler from Analyser to FileAnalyser to be used in parallel runs too (phpstan/phpstan-src@7dd699f)
- Use memory limit management trick from Laravel instead of the current
.memory_limit
file (phpstan/phpstan-src@daf7d55), https://twitter.com/timacdonald87/status/1484804225658146823
Bugfixes 馃悰
- Fix unset() on intersection with hasOffset (phpstan/phpstan-src@b43c057), #6399, #4357
- ConstantStringType - catch Error in setOffsetValueType (phpstan/phpstan-src@54f67c5), #6231
- Fix reflection error for the attribute
#[ReturnTypeWillChange]
on PHP 7.1-7.4 (ondrejmirtes/BetterReflection@bf36244, phpstan/phpstan-src@639a055), #6414 - Fix
array_filter
with callback that always evaluates to false (#939), thanks @herndlm! - Fix iterable key and value type - prefer generic type variables instead of key()/current() typehints (phpstan/phpstan-src@a2acf64), #5817
- Fix trait detection recursion for anonymous classes (#946), thanks @herndlm!
- Fix internal error with a big number in for loop condition (phpstan/phpstan-src@f1734dc), #6466
Function signature fixes 馃
- Add missing
Ds\Set::reduce()
to stubs (#942), thanks @ZebulanStanphill! - Refine
*strlen()
return type to exclude negative integers (#945), thanks @staabm! - Bugfix
DatePeriod::getEndDate
declaration (#951), thanks @nyamsprod!