-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm.xml
124 lines (121 loc) · 5.65 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<?xml version="1.0"?>
<psalm
errorLevel="1"
resolveFromConfigFile="true"
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"
findUnusedBaselineEntry="true"
findUnusedCode="false">
<projectFiles>
<directory name="packages" />
<directory name="tests" />
<ignoreFiles>
<directory name="vendor" />
<directory name="tests/doctrine" />
<directory name="tests/var" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<UnsupportedReferenceUsage>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Trait/ReadableCollectionTrait.php" />
<file name="packages/collections-orm/src/Trait/RepositoryTrait.php" />
</errorLevel>
</UnsupportedReferenceUsage>
<UnsupportedPropertyReferenceUsage>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Trait/RefreshCountTrait.php" />
</errorLevel>
</UnsupportedPropertyReferenceUsage>
<InvalidArgument>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Trait/*.php" />
<file name="packages/collections-common/src/Trait/*.php" />
<file name="packages/collections-orm/src/Trait/*.php" />
</errorLevel>
</InvalidArgument>
<UnsafeInstantiation>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/RecollectionDecorator.php" />
<file name="packages/collections-domain/src/CriteriaRecollection.php" />
<file name="packages/collections-domain/src/MinimalRecollectionDecorator.php" />
<file name="packages/collections-domain/src/MinimalCriteriaRecollection.php" />
<file name="packages/collections-orm/src/QueryRecollection.php" />
<file name="packages/collections-orm/src/QueryPageable.php" />
<file name="packages/collections-orm/src/AbstractMinimalRepository.php" />
</errorLevel>
</UnsafeInstantiation>
<MoreSpecificReturnType>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/CriteriaRecollection.php" />
</errorLevel>
</MoreSpecificReturnType>
<LessSpecificImplementedReturnType>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Trait/ReadableCollectionTrait.php" />
<file name="packages/collections-common/src/Trait/SafeCollectionTrait.php" />
</errorLevel>
</LessSpecificImplementedReturnType>
<LessSpecificReturnStatement>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/CriteriaRecollection.php" />
</errorLevel>
</LessSpecificReturnStatement>
<TypeDoesNotContainType>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Internal/ParameterUtil.php" />
</errorLevel>
</TypeDoesNotContainType>
<InvalidTemplateParam>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Trait/ReadableCollectionTrait.php" />
<file name="packages/collections-contracts/src/ReadableRecollection.php" />
</errorLevel>
</InvalidTemplateParam>
<MethodSignatureMismatch>
<errorLevel type="suppress">
<file name="packages/collections-common/src/Trait/PageableTrait.php" />
</errorLevel>
</MethodSignatureMismatch>
<PossiblyUndefinedArrayOffset>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</PossiblyUndefinedArrayOffset>
<MixedArgument>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MixedArgument>
<MissingClosureParamType>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MissingClosureParamType>
<MixedAssignment>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MixedAssignment>
<MixedInferredReturnType>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MixedInferredReturnType>
<MixedReturnStatement>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MixedReturnStatement>
<MixedArgumentTypeCoercion>
<errorLevel type="suppress">
<file name="packages/collections-domain/src/Internal/DirectClosureExpressionVisitor.php" />
</errorLevel>
</MixedArgumentTypeCoercion>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin" />
</plugins>
</psalm>