Releases
1.4.6
Improvements 馃敡
Implemented constant type inference for implode()
function (#991 ), thanks @staabm !
Bugfixes 馃悰
Fix interaction between template type and union type (#992 ), #5591 , thanks @arnaud-lb !
Delegate most of TypeCombinator::remove()
to Type::tryRemove()
(#994 ), #6438 , thanks @arnaud-lb !
TemplateType should accept a TemplateType derived from itself (#999 ), #5844 , #5706 , thanks @arnaud-lb !
Fixed intersecting and removal from TemplateUnionType (phpstan/phpstan-src@0d28835 ), #6566
Fixed type seen by IterableInForeachRule with inline @var
right above foreach
(phpstan/phpstan-src@b6bbbaf ), #6564
modulo 1 is always zero (#973 ), thanks @staabm !
multiply by zero is always zero (#974 ), thanks @staabm !
Fixed discovering backed enum without space around :
(phpstan/phpstan-src@5162bcf ), composer/composer#10498
Function signature fixes 馃
Function md5()
always return non-empty-string
(#987 ), thanks @janbarasek !
Correct the case for parameters that accept an instance of Iterator
. (#988 ), thanks @johnbillion !
Fix the return types of round()
/ceil()
/floor()
(#729 ), thanks @johnbillion !
Correct the return type of SplFileObject::fstat()
(#996 ), thanks @johnbillion !
Improve the return type of functions that return an indexed array of strings (#997 ), thanks @johnbillion !
You can鈥檛 perform that action at this time.