Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-08-10 23:25:51 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-08-18 09:58:20 +0300
commit238f181dbf65f17b8090ec997802074c3834d98d (patch)
tree1b3878f2e2ef02c704e7a90e9d448af461e3168b /psalm.xml
parent87d738d9fa53d77e8b26ab1c54d59978ce8ceea7 (diff)
Suppress warning for $_ and $l
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml10
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>