Releases
1.2.2
New Features 🥳
[TypeDeclaration] Add ReturnTypeFromMockObjectRector (#6166 )
[TypeDeclaration] Add TypedPropertyFromCreateMockAssignRector (#6177 )
Bugfixes 🐛
Skip phpdoc types in NumericReturnTypeFromStrictReturnsRector (#6153 ), Thanks @staabm !
[TypeDeclaration] Fix union type by multiple method calls on ParamTypeByMethodCallTypeRector (#6155 )
[TypeDeclaration] Handle throw without new on on ParamTypeByMethodCallTypeRector (#6156 )
[TypeDeclaration] Refactor CallerParamMatcher to avoid ambigous returns usage (#6157 )
[TypeDeclaration] Prevent uncaught exception in ReturnTypeFromReturnNewRector (#6159 ), Thanks @staabm !
Prevent uncaught class-not-found exceptions (#6160 ), Thanks @staabm !
[TypeDeclaration] Skip variadic on StrictArrayParamDimFetchRector (#6163 )
[CodeQuality] Skip used in next stmt on UnusedForeachValueToArrayKeysRector (#6164 )
[Scoper] Fix prefixed MockObject on ReturnTypeFromMockObjectRector (#6167 )
[TypeDeclaration] Flip position between bool return and return tyep from strict constant on TypeDeclarationLevel (#6168 )
[TypeDeclaration] Skip possible void and return by docblock on ReturnTypeFromMockObjectRector (#6170 )
[TypeDeclaration] Update fixture and example method name (#6171 )
[NodeTypeResolver] Handle crash on variable variable with assign on FirstClassCallableRector (#6173 )
[NodeTypeResolver] Clean up re-fill scope on PHPStanNodeScopeResolver on variable variable (#6174 )
[NodeTypeResolver] Fill scope of dynamic variable variable (#6175 )
fix: Convert DateTime to Carbon properly when hours/minutes/seconds are used (#6176 ), Thanks @florisbosch !
You can’t perform that action at this time.