Skip to content

Commit

Permalink
[Doc] Add an example to explain how to handle plugin issues (#4908)
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah authored Dec 29, 2020
1 parent 1d9987e commit ab5ddb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/running_psalm/dealing_with_code_issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Some issue types allow the use of `referencedMethod`, `referencedClass` or `refe
<errorLevel type="suppress">
<referencedVariable name="$fooBar" /> <!-- if your variable is "$fooBar" -->
</errorLevel>
</UndefinedGlobalVariable>
</UndefinedGlobalVariable>
<PluginIssue name="IssueNameEmittedByPlugin" errorLevel="info" /> <!-- this is a special case to handle issues emitted by plugins -->
</issueHandlers>
```

Expand Down

0 comments on commit ab5ddb1

Please sign in to comment.