diff --git a/docs/running_psalm/issues.md b/docs/running_psalm/issues.md index 7f6341b7a..4e08664fa 100644 --- a/docs/running_psalm/issues.md +++ b/docs/running_psalm/issues.md @@ -25,6 +25,7 @@ - [FalseOperand](issues/FalseOperand.md) - [ForbiddenCode](issues/ForbiddenCode.md) - [ForbiddenEcho](issues/ForbiddenEcho.md) + - [IfThisIsMismatch](issues/IfThisIsMismatch.md) - [ImplementedParamTypeMismatch](issues/ImplementedParamTypeMismatch.md) - [ImplementedReturnTypeMismatch](issues/ImplementedReturnTypeMismatch.md) - [ImplicitToStringCast](issues/ImplicitToStringCast.md) diff --git a/docs/running_psalm/issues/IfThisIsMismatch.md b/docs/running_psalm/issues/IfThisIsMismatch.md new file mode 100644 index 000000000..c15aa5fc6 --- /dev/null +++ b/docs/running_psalm/issues/IfThisIsMismatch.md @@ -0,0 +1,3 @@ +# IfThisIsMismatch + +Emitted when the type in `@psalm-if-this-is` annotation cannot be contained by the objects actual type.