-
Notifications
You must be signed in to change notification settings - Fork 222
Expand file tree
/
Copy pathpsalm.xml.dist
More file actions
137 lines (137 loc) · 5.99 KB
/
psalm.xml.dist
File metadata and controls
137 lines (137 loc) · 5.99 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
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
125
126
127
128
129
130
131
132
133
134
135
136
137
<?xml version="1.0"?>
<psalm
errorLevel="3"
cacheDirectory="var/cache/psalm"
findUnusedBaselineEntry="false"
findUnusedCode="false"
findUnusedIssueHandlerSuppression="false"
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="./src"/>
<directory name="./tests"/>
<directory name="./examples"/>
<ignoreFiles>
<directory name="./examples/traces/demo/"/>
<directory name="tests/Unit/Config/SDK/Configuration/ExampleSdk"/>
<directory name="tests/TraceContext/W3CTestService"/>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Psalm\MockeryPlugin\Plugin"/>
</plugins>
<issueHandlers>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="GMP"/>
</errorLevel>
</UndefinedClass>
<UndefinedMethod>
<errorLevel type="suppress">
<referencedMethod name="Google\Protobuf\Internal\RepeatedField::offsetGet"/>
<referencedMethod name="Google\Protobuf\Internal\RepeatedField::offsetSet"/>
</errorLevel>
</UndefinedMethod>
<ArgumentTypeCoercion>
<errorLevel type="suppress">
<directory name="./examples"/>
</errorLevel>
</ArgumentTypeCoercion>
<InvalidArgument>
<errorLevel type="suppress">
<directory name="src/Config/SDK/Configuration/Internal"/>
</errorLevel>
</InvalidArgument>
<PossiblyInvalidArgument>
<errorLevel type="suppress">
<directory name="src/Config/SDK/Configuration"/>
<directory name="tests/Integration/Config"/>
</errorLevel>
</PossiblyInvalidArgument>
<PossiblyNullReference>
<errorLevel type="suppress">
<directory name="src/Config/SDK/ComponentProvider"/>
<directory name="tests/Integration/Config/ComponentProvider"/>
</errorLevel>
</PossiblyNullReference>
<MoreSpecificImplementedParamType>
<errorLevel type="suppress">
<directory name="src/Config/SDK/ComponentProvider"/>
<directory name="tests"/>
</errorLevel>
</MoreSpecificImplementedParamType>
<UndefinedInterfaceMethod>
<errorLevel type="suppress">
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::end"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::scalarNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::integerNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::booleanNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::arrayNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::variableNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::enumNode"/>
<referencedMethod name="Symfony\Component\Config\Definition\Builder\NodeParentInterface::floatNode"/>
</errorLevel>
</UndefinedInterfaceMethod>
<TooManyTemplateParams>
<errorLevel type="suppress">
<directory name="src/Config/SDK/Configuration/Internal/NodeDefinition"/>
</errorLevel>
</TooManyTemplateParams>
<UndefinedMagicMethod>
<errorLevel type="suppress">
<referencedMethod name="Prophecy\Prophecy\ObjectProphecy::accepts"/>
<referencedMethod name="Prophecy\Prophecy\ObjectProphecy::fields"/>
</errorLevel>
</UndefinedMagicMethod>
<PossiblyFalseArgument>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</PossiblyFalseArgument>
<PossiblyFalseOperand>
<errorLevel type="suppress">
<directory name="examples/baggage"/>
<file name="src/SDK/Metrics/MetricExporter/ConsoleMetricExporter.php"/>
</errorLevel>
</PossiblyFalseOperand>
<InvalidOperand>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</InvalidOperand>
<FalsableReturnStatement>
<errorLevel type="suppress">
<directory name="src/API/Trace"/>
</errorLevel>
</FalsableReturnStatement>
<PossiblyNullArgument>
<errorLevel type="suppress">
<file name="src/API/Instrumentation/CachedInstrumentation.php"/>
</errorLevel>
</PossiblyNullArgument>
<InvalidNullableReturnType>
<errorLevel type="suppress">
<file name="src/API/Instrumentation/CachedInstrumentation.php"/>
</errorLevel>
</InvalidNullableReturnType>
<NullableReturnStatement>
<errorLevel type="suppress">
<file name="src/API/Instrumentation/CachedInstrumentation.php"/>
</errorLevel>
</NullableReturnStatement>
<InvalidAttribute>
<errorLevel type="suppress">
<directory name="tests/Unit"/>
<directory name="src/Config/SDK/ComponentProvider"/>
</errorLevel>
</InvalidAttribute>
<InvalidOperand>
<errorLevel type="suppress">
<directory name="src/SDK/Metrics/Aggregation"/>
</errorLevel>
</InvalidOperand>
</issueHandlers>
</psalm>