diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2020-08-10 22:25:51 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-18 08:58:20 +0200 |
commit | 238f181dbf65f17b8090ec997802074c3834d98d (patch) | |
tree | 1b3878f2e2ef02c704e7a90e9d448af461e3168b /psalm.xml | |
parent | 87d738d9fa53d77e8b26ab1c54d59978ce8ceea7 (diff) | |
download | nextcloud-server-238f181dbf65f17b8090ec997802074c3834d98d.tar.gz nextcloud-server-238f181dbf65f17b8090ec997802074c3834d98d.zip |
Suppress warning for $_ and $l
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'psalm.xml')
-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> |