Repository navigation
2.3.2 #15531
ondrejmirtes
started this conversation in
General
2.3.2
#15531
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bleeding edge 🔪
BackedEnum::tryFrom()andBackedEnum::from()parameter types takes enum-backing type into account (#6790), IntBackedEnum and StringBackedEnum constructor not taken in to account #11421, thanks @AJenbo!If 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
Improvements 🔧
array_filter()and narrow its result (#6681), array_filter supports a new constant ARRAY_FILTER_USE_VALUE #15372, thanks @Amoifr!clamp()(#6684), Add dynamic return type extension for clamp function #15366, thanks @Amoifr!_(#6743), Suppressfunction.unusedParameterfor params starting with _ #15480, thanks @bpfoley!@apion class constants and traits in the API rules (#6791), thanks @SanderMuller!Bugfixes 🐛
matchexpression type resolution regression (2.3) #15433, thanks @drewmt!php-standard-library/typepackage #15184, thanks @theodorejb!OversizedArrayBuilder: expand unpacked items into types directly instead of feeding synthesizedTypeExpritems to the type callback (#6774), Exception on large array analysis #15510, thanks @VincentLanglet!??#15428Performance 🏎️
pcovortidewaysextension is loaded (#6757), Turbo 2.3.0 incompatible with Tideways #15407, thanks @staabm!@phpstan-impuretip and the PossiblyImpureCallExpr entries behind it (#6771)Function signature fixes 🤖
curl_getinfo()return types (#6683), curl_getinfo has new size_delivered key in PHP 8.6 #15371, thanks @Amoifr!IntlBreakIterator::create*Instance()(#6566), thanks @Enfiladeguide!Internals 🔍
::classorget_classon a polymorphic variable #12882 (#6748), thanks @HawkForge!bashunit -ais deprecated. Usebashunit assertinstead. (#6761), thanks @staabm!pcove2e tests (#6770), thanks @staabm!This discussion was created from the release 2.3.2.
All reactions