diff options
-rw-r--r-- | psalm.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/psalm.xml b/psalm.xml index f70591ea2fe..ae059566555 100644 --- a/psalm.xml +++ b/psalm.xml @@ -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> |