Suppress warning for $_ and $l

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/21787/head
Daniel Kesselberg 4 years ago committed by Morris Jobke
parent 87d738d9fa
commit 238f181dbf
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68

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

Loading…
Cancel
Save