1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-29 20:28:59 +01:00

[Doc] Add an example to explain how to handle plugin issues (#4908)

This commit is contained in:
orklah 2020-12-29 12:43:07 +01:00 committed by Daniil Gentili
parent a475b23f0b
commit 8076db9c44
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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>
```