2020-07-10 11:58:33 +03:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<psalm
|
|
|
|
errorLevel="4"
|
|
|
|
resolveFromConfigFile="true"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
xmlns="https://getpsalm.org/schema/config"
|
2020-08-10 23:25:51 +03:00
|
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config"
|
2020-08-18 10:02:31 +03:00
|
|
|
errorBaseline="build/psalm-baseline.xml"
|
2020-07-10 11:58:33 +03:00
|
|
|
>
|
2020-11-20 14:19:59 +03:00
|
|
|
<plugins>
|
|
|
|
<plugin filename="build/psalm/AppFrameworkTainter.php" />
|
|
|
|
</plugins>
|
2020-07-10 11:58:33 +03:00
|
|
|
<projectFiles>
|
|
|
|
<directory name="apps"/>
|
|
|
|
<directory name="core"/>
|
|
|
|
<directory name="lib"/>
|
|
|
|
<directory name="ocm-provider"/>
|
|
|
|
<directory name="ocs"/>
|
|
|
|
<directory name="ocs-provider"/>
|
|
|
|
<file name="index.php"/>
|
|
|
|
<file name="public.php"/>
|
|
|
|
<file name="remote.php"/>
|
|
|
|
<file name="status.php"/>
|
|
|
|
<file name="version.php"/>
|
|
|
|
<ignoreFiles>
|
|
|
|
<directory name="apps/**/composer"/>
|
|
|
|
<directory name="apps/**/tests"/>
|
2020-07-10 13:30:38 +03:00
|
|
|
<directory name="apps/files_external/3rdparty"/>
|
2020-07-10 11:58:33 +03:00
|
|
|
<directory name="lib/composer"/>
|
|
|
|
<directory name="lib/l10n"/>
|
|
|
|
</ignoreFiles>
|
|
|
|
</projectFiles>
|
|
|
|
<extraFiles>
|
|
|
|
<directory name="3rdparty"/>
|
2020-07-10 13:30:38 +03:00
|
|
|
<directory name="apps/files_external/3rdparty"/>
|
2020-07-10 11:58:33 +03:00
|
|
|
</extraFiles>
|
|
|
|
<stubs>
|
|
|
|
<file name="build/stubs/apcu.php"/>
|
2020-08-18 11:10:38 +03:00
|
|
|
<file name="build/stubs/gd.php"/>
|
2020-07-10 11:58:33 +03:00
|
|
|
<file name="build/stubs/imagick.php"/>
|
2020-08-18 11:10:38 +03:00
|
|
|
<file name="build/stubs/intl.php"/>
|
|
|
|
<file name="build/stubs/IntlChar.php"/>
|
|
|
|
<file name="build/stubs/ldap.php"/>
|
2020-07-10 11:58:33 +03:00
|
|
|
<file name="build/stubs/memcached.php"/>
|
|
|
|
<file name="build/stubs/redis.php"/>
|
2020-08-18 11:10:38 +03:00
|
|
|
<file name="build/stubs/redis_cluster.php"/>
|
2020-07-10 13:30:38 +03:00
|
|
|
<file name="build/stubs/sftp.php"/>
|
|
|
|
<file name="build/stubs/ssh2.php"/>
|
2020-08-18 11:10:38 +03:00
|
|
|
<file name="build/stubs/xsl.php"/>
|
2020-07-10 11:58:33 +03:00
|
|
|
</stubs>
|
2020-07-10 15:08:32 +03:00
|
|
|
<issueHandlers>
|
|
|
|
<UndefinedFunction>
|
|
|
|
<errorLevel type="suppress">
|
2020-08-14 17:18:23 +03:00
|
|
|
<!-- template functions: https://github.com/nextcloud/server/blob/6e8e34fef920a073118c22111f0f31eb3b3a91dc/lib/private/legacy/template/functions.php -->
|
2020-07-10 15:08:32 +03:00
|
|
|
<referencedFunction name="p"/>
|
2020-08-14 17:18:23 +03:00
|
|
|
<referencedFunction name="emit_css_tag"/>
|
|
|
|
<referencedFunction name="emit_css_loading_tags"/>
|
|
|
|
<referencedFunction name="emit_script_tag"/>
|
|
|
|
<referencedFunction name="emit_script_loading_tags"/>
|
2020-07-10 15:08:32 +03:00
|
|
|
<referencedFunction name="print_unescaped"/>
|
|
|
|
<referencedFunction name="script"/>
|
2020-08-14 17:18:23 +03:00
|
|
|
<referencedFunction name="vendor_script"/>
|
2020-07-10 15:08:32 +03:00
|
|
|
<referencedFunction name="style"/>
|
2020-08-14 17:18:23 +03:00
|
|
|
<referencedFunction name="vendor_style"/>
|
|
|
|
<referencedFunction name="translation"/>
|
|
|
|
<referencedFunction name="component"/>
|
|
|
|
<referencedFunction name="link_to"/>
|
|
|
|
<referencedFunction name="link_to_docs"/>
|
|
|
|
<referencedFunction name="image_path"/>
|
|
|
|
<referencedFunction name="mimetype_icon"/>
|
|
|
|
<referencedFunction name="preview_icon"/>
|
|
|
|
<referencedFunction name="publicPreview_icon"/>
|
|
|
|
<referencedFunction name="human_file_size"/>
|
|
|
|
<referencedFunction name="strip_time"/>
|
|
|
|
<referencedFunction name="relative_modified_date"/>
|
|
|
|
<referencedFunction name="html_select_options"/>
|
2020-07-10 15:08:32 +03:00
|
|
|
</errorLevel>
|
|
|
|
</UndefinedFunction>
|
2020-08-10 23:25:51 +03:00
|
|
|
<UndefinedGlobalVariable>
|
|
|
|
<errorLevel type="suppress">
|
2020-08-14 17:06:33 +03:00
|
|
|
<referencedVariable name="$_"/>
|
2020-08-14 17:18:23 +03:00
|
|
|
<referencedVariable name="$l"/>
|
|
|
|
<referencedVariable name="$theme"/>
|
2020-08-14 15:37:05 +03:00
|
|
|
<!-- false positive: https://github.com/nextcloud/server/blob/cb057829f72c70e819f456edfadbb29d72dba832/lib/private/Console/Application.php#L92 -->
|
|
|
|
<file name="core/register_command.php" />
|
2020-08-10 23:25:51 +03:00
|
|
|
</errorLevel>
|
|
|
|
</UndefinedGlobalVariable>
|
2020-12-08 19:14:06 +03:00
|
|
|
<UndefinedDocblockClass>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<!-- Helper classes for sharing API integration from other apps -->
|
|
|
|
<referencedClass name="OCA\Deck\Sharing\ShareAPIHelper" />
|
|
|
|
<referencedClass name="OCA\Talk\Share\Helper\DeletedShareAPIController" />
|
|
|
|
</errorLevel>
|
|
|
|
</UndefinedDocblockClass>
|
2020-07-10 15:08:32 +03:00
|
|
|
</issueHandlers>
|
2020-07-10 11:58:33 +03:00
|
|
|
</psalm>
|