Fix: UndefinedFunction Function x does not exist in templates

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
pull/21787/head
Daniel Kesselberg 4 years ago committed by Morris Jobke
parent 6ba55d78dc
commit dd721fc5de
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
  1. 13
      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>

Loading…
Cancel
Save