-
-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathpsalm.xml
More file actions
72 lines (72 loc) · 2.97 KB
/
Copy pathpsalm.xml
File metadata and controls
72 lines (72 loc) · 2.97 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?xml version="1.0"?>
<psalm
errorBaseline="tests/psalm-baseline.xml"
errorLevel="5"
findUnusedBaselineEntry="true"
findUnusedCode="false"
hideExternalErrors="true"
resolveFromConfigFile="true"
phpVersion="8.3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="lib" />
<ignoreFiles>
<directory name="vendor" />
<directory name="vendor-bin" />
<directory name="3rdparty" />
<directory name="lib/Handler/Templates" />
</ignoreFiles>
</projectFiles>
<extraFiles>
<directory name="../../lib" />
<directory name="../../core/Command" />
<directory name="../../apps/dav/lib/Connector/Sabre" />
<directory name="../../apps/files/lib" />
<directory name="../../apps/files_sharing/lib" />
<directory name="../../apps/settings/lib/Mailer" />
<directory name="../../3rdparty/doctrine/dbal/src" />
<directory name="../../3rdparty/sabre/dav/lib/DAV" />
<directory name="../../3rdparty/sabre/event/lib" />
<directory name="../../3rdparty/stecman/symfony-console-completion/src" />
</extraFiles>
<!--
Global level stays at 5, but these issue families are ratcheted to
error because they have been high-signal in LibreSign and help tighten
analysis without jumping wholesale to level 4.
-->
<issueHandlers>
<LessSpecificReturnStatement errorLevel="error"/>
<LessSpecificReturnType errorLevel="error"/>
<LessSpecificImplementedReturnType errorLevel="error"/>
<MoreSpecificReturnType errorLevel="error"/>
<ImplementedParamTypeMismatch errorLevel="error"/>
<ImplicitToStringCast errorLevel="error"/>
<InvalidDocblock errorLevel="error"/>
<MismatchingDocblockParamType errorLevel="error"/>
<MismatchingDocblockReturnType errorLevel="error"/>
<TooManyArguments errorLevel="error"/>
<UndefinedMagicMethod errorLevel="error"/>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="GuzzleHttp\*" />
<referencedClass name="OC" />
<referencedClass name="OC\*" />
</errorLevel>
</UndefinedClass>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="Doctrine\DBAL\Schema\Table" />
<referencedClass name="GuzzleHttp\Client" />
<referencedClass name="GuzzleHttp\ClientInterface" />
<referencedClass name="OC\*" />
</errorLevel>
</UndefinedDocblockClass>
</issueHandlers>
<stubs>
<file name="tests/stubs/OC/Core/Command/Base.php" />
<file name="tests/stubs/OC/Hooks/Emitter.php" />
</stubs>
</psalm>