Suppress warning for $_ and $l

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-08-10 22:25:51 +02:00 committed by Morris Jobke
parent 87d738d9fa
commit 238f181dbf
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 9 additions and 1 deletions

View File

@ -4,7 +4,7 @@
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config lib/composer/vimeo/psalm/config.xsd"
xsi:schemaLocation="https://getpsalm.org/schema/config"
>
<projectFiles>
<directory name="apps"/>
@ -49,5 +49,13 @@
<directory name="core/templates"/>
</errorLevel>
</UndefinedFunction>
<UndefinedGlobalVariable>
<errorLevel type="suppress">
<referencedVariable name="l" />
<referencedVariable name="_" />
<directory name="apps/**/templates"/>
<directory name="core/templates"/>
</errorLevel>
</UndefinedGlobalVariable>
</issueHandlers>
</psalm>