Fix: UndefinedFunction Function x does not exist in templates
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
parent
6ba55d78dc
commit
dd721fc5de
13
psalm.xml
13
psalm.xml
|
@ -14,7 +14,6 @@
|
||||||
<directory name="ocs"/>
|
<directory name="ocs"/>
|
||||||
<directory name="ocs-provider"/>
|
<directory name="ocs-provider"/>
|
||||||
<file name="index.php"/>
|
<file name="index.php"/>
|
||||||
<file name="lib/private/legacy/template/functions.php"/>
|
|
||||||
<file name="public.php"/>
|
<file name="public.php"/>
|
||||||
<file name="remote.php"/>
|
<file name="remote.php"/>
|
||||||
<file name="status.php"/>
|
<file name="status.php"/>
|
||||||
|
@ -39,4 +38,16 @@
|
||||||
<file name="build/stubs/sftp.php"/>
|
<file name="build/stubs/sftp.php"/>
|
||||||
<file name="build/stubs/ssh2.php"/>
|
<file name="build/stubs/ssh2.php"/>
|
||||||
</stubs>
|
</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>
|
</psalm>
|
||||||
|
|
Loading…
Reference in New Issue