aboutsummaryrefslogtreecommitdiffstats
path: root/psalm.xml
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2020-07-10 14:08:32 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-08-18 08:58:19 +0200
commitdd721fc5de51afa535cfdf8405672d5e2335038a (patch)
tree1e93ea52a6dcd6282c8b0491f38095858528d5e1 /psalm.xml
parent6ba55d78dcc786e7e4fffdb746086d8be4fbef19 (diff)
downloadnextcloud-server-dd721fc5de51afa535cfdf8405672d5e2335038a.tar.gz
nextcloud-server-dd721fc5de51afa535cfdf8405672d5e2335038a.zip
Fix: UndefinedFunction Function x does not exist in templates
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'psalm.xml')
-rw-r--r--psalm.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/psalm.xml b/psalm.xml
index 06cdf300318..f70591ea2fe 100644
--- a/psalm.xml
+++ b/psalm.xml
@@ -14,7 +14,6 @@
<directory name="ocs"/>
<directory name="ocs-provider"/>
<file name="index.php"/>
- <file name="lib/private/legacy/template/functions.php"/>
<file name="public.php"/>
<file name="remote.php"/>
<file name="status.php"/>
@@ -39,4 +38,16 @@
<file name="build/stubs/sftp.php"/>
<file name="build/stubs/ssh2.php"/>
</stubs>
+ <issueHandlers>
+ <UndefinedFunction>
+ <errorLevel type="suppress">
+ <referencedFunction name="p"/>
+ <referencedFunction name="print_unescaped"/>
+ <referencedFunction name="script"/>
+ <referencedFunction name="style"/>
+ <directory name="apps/**/templates"/>
+ <directory name="core/templates"/>
+ </errorLevel>
+ </UndefinedFunction>
+ </issueHandlers>
</psalm>