Improvements 🔧
- Detect
--generate-baseline
combined with--pro
(phpstan/phpstan-src@dd028cb), #11093 - Add error identifier to RawErrorFormatter (#3112), #11125, thanks @zonuexe!
- Pass current rule level to PHPStan Pro (phpstan/phpstan-src@7af14fb)
- Read and enforce PHPStan version constraints from
phpstan/extension-installer
v1.4 (phpstan/phpstan-src@1d005ef)
Bugfixes 🐛
- Consider
numeric-string
types after string concat (#3117), thanks @staabm! - Fix type loss with recursive
count()
(#2812), thanks @staabm! array_slice()
returnsnon-empty-array
for existing offsets and positive limit (#3124), #10721, thanks @staabm!- Consider a
ClosureType()
as maybe impure by default when no$impurePoints
array provided (#3125), #11135, thanks @jf-m!
Function signature fixes 🤖
- Make the return type of
tempnam()
andtmpfile()
to benevolent union (#3111), thanks @zonuexe! - Fix
gnupg_init
function (#3118), thanks @pistej!
Internals 🔍
- Update
react/promise
(phpstan/phpstan-src@da754e2)