1.10.48 #10270
ondrejmirtes
started this conversation in
General
1.10.48
#10270
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bleeding edge 🔪
xor
because that's probably not what the user intended to do (phpstan/phpstan-src@a1fffb3), Detecting more complex dead code which does not do anything #10267and
andor
(phpstan/phpstan-src@1d8fff6)&&
and||
(phpstan/phpstan-src@cf2c8bb)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 🔧
ReflectionEnum::getName()
afterReflectionEnum::isBacked()
(#2806), ReflectionEnum::getCases expects ReflectionEnumUnitCase instead of ReflectionEnumBackedCase #10192, thanks @franmomu!Bugfixes 🐛
@return $this
on interface causes covariant error #6462, $this(class) must be covariant with $this(parent class) return type #10208, @return static in inheritance through extending AND implementing is not working correctly #3580,/** @return static */
doesn't work properly with extended abstract class #4396, thanks @janedbal!count()
results in type loss (#2811), phpstan-assert with count results in type loss #10264, thanks @staabm!Function signature fixes 🤖
SimpleXMLElement::addChild
(#2808), SimpleXMLELement::addChild return type is incorrect. #10269, thanks @DaveLiddament!This discussion was created from the release 1.10.48.
Beta Was this translation helpful? Give feedback.
All reactions