0.12.89 #5154
Replies: 3 comments 3 replies
-
With this release I get a LOT of new "return type has no value type specified in iterable type array" all around (level 6, bleedingEdge)
I understand in most other cases I found that stuff like PS: seems really to only affect return types |
Beta Was this translation helpful? Give feedback.
-
@mfn For your last example I think the issue is |
Beta Was this translation helpful? Give feedback.
-
All issues solved:
TL;DR: all good, thanks and sorry for the noise :sadpanda: |
Beta Was this translation helpful? Give feedback.
-
Improvements 🔧
ExceptionTypeResolver
as an interface allowing for custom implementations (phpstan/phpstan-src@a125304, phpstan/phpstan-src@dec03af), Add an option to excluded some method/class/folder when doing the exception check #5044RecursiveArrayIterator
(phpstan/phpstan-src@8c33955)Bleeding edge 🔪
int|string
(phpstan/phpstan-src@724c8ba), array key type not being checked for validity #3753If you want to see the shape of things to come and adopt bleeding edge features early, you can include this config file in your project's
phpstan.neon
:Of course, there are no backwards compatibility guarantees when you include this file. The behaviour and reported errors can change in minor versions with this file included. Learn more
Bugfixes 🐛
TARGET_PROPERTY
attributes on promoted properties (#528), False positive: PHP8 property promotion attribute target #4418, thanks @dbrekelmans!IntegerRangeType
(phpstan/phpstan-src@d23b4b7)Function signature fixes 🤖
implode()
with named arguments (phpstan/phpstan-src@18f8473), PHPStan does not correctly detectimplode
parameter names #5018intdiv()
throw extension (#527), thanks @VincentLanglet!SimpleXMLElement
constructor throw type extension (#532), thanks @VincentLanglet!uopz
functions are no longer using the correct signature. #5049uopz_set_hook
fixes (phpstan/phpstan-src@4effc89)gmp_div
,odbc_exec
andunregister_tick_function
(#533), thanks @danielmarschall!phpstorm-stubs
(phpstan/phpstan-src@bba6631)stream_bucket_make_writeable
(#537), thanks @bytestream!toPHP
optional (#543), thanks @franmomu!SplFileObject::fgetcsv()
(#479), thanks @VincentLanglet!mysqli_get_client_version()
(#545), thanks @johnbillion!number_format
(#553), thanks @BackEndTea!This discussion was created from the release 0.12.89.
Beta Was this translation helpful? Give feedback.
All reactions