-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpsalm.xml
63 lines (57 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?xml version="1.0"?>
<psalm
name="Psalm for Payment gateway logger driver"
useDocblockTypes="true"
>
<projectFiles>
<directory name="src" />
<directory name="tests" />
</projectFiles>
<fileExtensions>
<extension name=".php" />
</fileExtensions>
<issueHandlers>
<MixedArgument errorLevel="suppress" />
<MixedMethodCall errorLevel="suppress" />
<MixedPropertyFetch errorLevel="suppress" />
<MixedPropertyAssignment errorLevel="suppress" />
<MixedInferredReturnType errorLevel="suppress" />
<MixedArrayAccess errorLevel="suppress" />
<!-- Psalm doesn't like that initialize() sets instance variables for the constructor -->
<PropertyNotSetInConstructor errorLevel="suppress" />
<!-- Unit tests set lots of instance variables inline -->
<UndefinedThisPropertyAssignment>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</UndefinedThisPropertyAssignment>
<MissingPropertyType>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</MissingPropertyType>
<InaccessibleProperty>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</InaccessibleProperty>
<TooManyArguments>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</TooManyArguments>
<MissingClosureReturnType>
<errorLevel type="suppress">
<file name="src/TestLogger.php" />
</errorLevel>
</MissingClosureReturnType>
<MissingClosureParamType>
<errorLevel type="suppress">
<file name="src/TestLogger.php" />
</errorLevel>
</MissingClosureParamType>
</issueHandlers>
<mockClasses>
<class name="Mockery\MockInterface" />
</mockClasses>
</psalm>