Repository navigation
Expand file tree
/
Copy pathpsalm.xml
More file actions
41 lines (41 loc) · 1.45 KB
/
Copy pathpsalm.xml
File metadata and controls
41 lines (41 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!--
- SPDX-FileCopyrightText: 2026 Patrizio Bekerle <patrizio@bekerle.com>
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
<psalm
errorLevel="4"
resolveFromConfigFile="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
phpVersion="8.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="lib" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="vendor/nextcloud/ocp" />
</extraFiles>
<stubs>
<file name="tests/stubs/files_versions.php" />
<file name="tests/stubs/files_trashbin.php" />
<file name="tests/stubs/oc.php" />
</stubs>
<issueHandlers>
<!-- The Override attribute needs PHP 8.3, but PHP 8.2 is supported -->
<MissingOverrideAttribute errorLevel="suppress" />
<ClassMustBeFinal errorLevel="suppress" />
<!-- Doctrine is part of the Nextcloud server, but not of the nextcloud/ocp stubs -->
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Schema\Table" />
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>
</psalm>