Skip to content

Commit

Permalink
GetTypeMissUseInspector: fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kalessil committed Jul 26, 2017
1 parent 4419fd7 commit 6b64f8e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.intellij.codeInspection.LocalQuickFix;
import com.intellij.codeInspection.ProblemDescriptor;
import com.intellij.codeInspection.ProblemHighlightType;
import com.intellij.codeInspection.ProblemsHolder;
import com.intellij.openapi.project.Project;
import com.intellij.psi.PsiElement;
Expand Down Expand Up @@ -92,7 +93,7 @@ public void visitPhpFunctionCall(@NotNull FunctionReference reference) {
/* edge case: compared string is wrong xD - bug */
if (!typeString.equals("unknown type")) {
final String message = messageInvalidType.replace("%t%", typeString);
holder.registerProblem(type, message);
holder.registerProblem(type, message, ProblemHighlightType.GENERIC_ERROR);
}

return;
Expand Down

0 comments on commit 6b64f8e

Please sign in to comment.