1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +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 GitHub
parent 1d9987e0ed
commit ab5ddb1514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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