Fix: UndefinedFunction Function x does not exist in templates

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-07-10 14:08:32 +02:00 committed by Morris Jobke
parent 6ba55d78dc
commit dd721fc5de
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
1 changed files with 12 additions and 1 deletions

View File

@ -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>