Suppress warning for $_ and $l
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
87d738d9fa
commit
238f181dbf
10
psalm.xml
10
psalm.xml
|
@ -4,7 +4,7 @@
|
||||||
resolveFromConfigFile="true"
|
resolveFromConfigFile="true"
|
||||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
xmlns="https://getpsalm.org/schema/config"
|
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>
|
<projectFiles>
|
||||||
<directory name="apps"/>
|
<directory name="apps"/>
|
||||||
|
@ -49,5 +49,13 @@
|
||||||
<directory name="core/templates"/>
|
<directory name="core/templates"/>
|
||||||
</errorLevel>
|
</errorLevel>
|
||||||
</UndefinedFunction>
|
</UndefinedFunction>
|
||||||
|
<UndefinedGlobalVariable>
|
||||||
|
<errorLevel type="suppress">
|
||||||
|
<referencedVariable name="l" />
|
||||||
|
<referencedVariable name="_" />
|
||||||
|
<directory name="apps/**/templates"/>
|
||||||
|
<directory name="core/templates"/>
|
||||||
|
</errorLevel>
|
||||||
|
</UndefinedGlobalVariable>
|
||||||
</issueHandlers>
|
</issueHandlers>
|
||||||
</psalm>
|
</psalm>
|
||||||
|
|
Loading…
Reference in New Issue