File tree Expand file tree Collapse file tree
rules/DeadCode/Rector/If_ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313use PhpParser \Node \Expr \PropertyFetch ;
1414use PhpParser \Node \Expr \StaticPropertyFetch ;
1515use PhpParser \Node \Name ;
16- use PhpParser \Node \Name \FullyQualified ;
1716use PhpParser \Node \Stmt ;
1817use PhpParser \Node \Stmt \Expression ;
1918use PhpParser \Node \Stmt \If_ ;
@@ -142,9 +141,6 @@ private function isInstanceofTheSameType(Instanceof_ $instanceof) : ?bool
142141 if ($ classReflection instanceof ClassReflection && $ classReflection ->isTrait ()) {
143142 return null ;
144143 }
145- if (!$ instanceof ->class instanceof FullyQualified) {
146- return null ;
147- }
148144 $ exprType = $ this ->nodeTypeResolver ->getNativeType ($ instanceof ->expr );
149145 if (!$ exprType instanceof ObjectType) {
150146 return null ;
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ final class VersionResolver
1919 * @api
2020 * @var string
2121 */
22- public const PACKAGE_VERSION = '3c2100b3a8d2372094135efa9c4d0433078337b5 ' ;
22+ public const PACKAGE_VERSION = '1561c90c6b9ef040532a34afa1c2f581ad5dfbc1 ' ;
2323 /**
2424 * @api
2525 * @var string
2626 */
27- public const RELEASE_DATE = '2024-07-01 09 :15:52 ' ;
27+ public const RELEASE_DATE = '2024-07-01 10 :15:34 ' ;
2828 /**
2929 * @var int
3030 */
You can’t perform that action at this time.
0 commit comments