forked from getsentry/sentry-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
98 lines (98 loc) · 3.32 KB
/
psalm-baseline.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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.26.0@6998fabb2bf528b65777bf9941920888d23c03ac">
<file src="src/Dsn.php">
<PossiblyUndefinedArrayOffset occurrences="4">
<code>$parsedDsn['host']</code>
<code>$parsedDsn['path']</code>
<code>$parsedDsn['scheme']</code>
<code>$parsedDsn['user']</code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/HttpClient/HttpClientFactory.php">
<UndefinedClass occurrences="4">
<code>GuzzleHttpClientOptions</code>
<code>GuzzleHttpClientOptions</code>
<code>GuzzleHttpClientOptions</code>
<code>SymfonyHttpClient</code>
</UndefinedClass>
</file>
<file src="src/Integration/IntegrationRegistry.php">
<PossiblyInvalidArgument occurrences="2">
<code>$userIntegration</code>
<code>$userIntegrations</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Monolog/BreadcrumbHandler.php">
<PossiblyInvalidArgument occurrences="4">
<code>$record['channel']</code>
<code>$record['level']</code>
<code>$record['level']</code>
<code>$record['message']</code>
</PossiblyInvalidArgument>
<PossiblyInvalidMethodCall occurrences="1">
<code>getTimestamp</code>
</PossiblyInvalidMethodCall>
<UndefinedDocblockClass occurrences="2">
<code>Level|int</code>
<code>int|string|Level|LogLevel::*</code>
</UndefinedDocblockClass>
</file>
<file src="src/Monolog/CompatibilityProcessingHandlerTrait.php">
<DuplicateClass occurrences="1">
<code>CompatibilityProcessingHandlerTrait</code>
</DuplicateClass>
<UndefinedClass occurrences="1">
<code>Level</code>
</UndefinedClass>
</file>
<file src="src/Monolog/Handler.php">
<PossiblyInvalidArgument occurrences="3">
<code>$record['channel']</code>
<code>$record['level']</code>
<code>$record['message']</code>
</PossiblyInvalidArgument>
<PossiblyInvalidArrayOffset occurrences="1">
<code>$record['context']['exception']</code>
</PossiblyInvalidArrayOffset>
<PossiblyUndefinedMethod occurrences="2">
<code>$record['context']</code>
<code>$record['context']</code>
</PossiblyUndefinedMethod>
</file>
<file src="src/Serializer/RepresentationSerializer.php">
<InvalidReturnStatement occurrences="1">
<code>$value</code>
</InvalidReturnStatement>
<InvalidReturnType occurrences="1">
<code>representationSerialize</code>
</InvalidReturnType>
</file>
<file src="src/State/Hub.php">
<TooManyArguments occurrences="3">
<code>captureException</code>
<code>captureLastError</code>
<code>captureMessage</code>
</TooManyArguments>
</file>
<file src="src/State/HubAdapter.php">
<TooManyArguments occurrences="4">
<code>captureException</code>
<code>captureLastError</code>
<code>captureMessage</code>
<code>startTransaction</code>
</TooManyArguments>
</file>
<file src="src/Tracing/SpanContext.php">
<UnsafeInstantiation occurrences="1">
<code>new static()</code>
</UnsafeInstantiation>
</file>
<file src="src/functions.php">
<TooManyArguments occurrences="4">
<code>captureException</code>
<code>captureLastError</code>
<code>captureMessage</code>
<code>startTransaction</code>
</TooManyArguments>
</file>
</files>