This repository has been archived by the owner on May 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
psalm.xml
44 lines (37 loc) · 1.42 KB
/
psalm.xml
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
<?xml version="1.0"?>
<psalm useDocblockTypes="true">
<projectFiles>
<directory name="src" />
<directory name="tests/" />
</projectFiles>
<fileExtensions>
<extension name=".php" />
</fileExtensions>
<issueHandlers>
<DeprecatedClass>
<errorLevel type="suppress">
<file name="tests/Parser/Representation/DocumentationTest.php" />
</errorLevel>
</DeprecatedClass>
<InvalidReturnType>
<errorLevel type="suppress">
<directory name="tests/" />
</errorLevel>
</InvalidReturnType>
<InvalidScalarArgument>
<errorLevel type="suppress">
<!-- Masking errors where we're passing methods that return `bool|string` into test assertions. -->
<directory name="tests/" />
</errorLevel>
</InvalidScalarArgument>
<LessSpecificReturnType errorLevel="suppress" />
<PossiblyInvalidArgument>
<errorLevel type="suppress">
<!-- Masking errors where we're passing methods that return `bool|object` into test assertions. -->
<directory name="tests/" />
</errorLevel>
</PossiblyInvalidArgument>
<!-- This hides a number of errors that we don't really care about. -->
<PropertyNotSetInConstructor errorLevel="suppress" />
</issueHandlers>
</psalm>