-
-
Notifications
You must be signed in to change notification settings - Fork 254
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
151 lines (127 loc) · 5.66 KB
/
Copy pathphpstan-baseline.neon
File metadata and controls
151 lines (127 loc) · 5.66 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
parameters:
ignoreErrors:
-
message: '#^If condition is always false\.$#'
identifier: if.alwaysFalse
count: 1
path: src/ImapResource.php
-
message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<int, Ddeboer\\Imap\\MessageInterface\|int\|string\> given\.$#'
identifier: argument.type
count: 1
path: src/Mailbox.php
-
message: '#^Call to function base64_decode\(\) requires parameter \#2 to be true\.$#'
identifier: function.strict
count: 1
path: src/Message/AbstractPart.php
-
message: '#^Method Ddeboer\\Imap\\Message\\AbstractPart\:\:getChildren\(\) return type with generic interface RecursiveIterator does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Message/AbstractPart.php
-
message: '#^Property Ddeboer\\Imap\\Message\\AbstractPart\:\:\$bytes \(int\|string\|null\) is never assigned null so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: src/Message/AbstractPart.php
-
message: '#^Property Ddeboer\\Imap\\Message\\AbstractPart\:\:\$lines \(string\|null\) is never assigned string so it can be removed from the property type\.$#'
identifier: property.unusedType
count: 1
path: src/Message/AbstractPart.php
-
message: '#^Strict comparison using \=\=\= between false and string will always evaluate to false\.$#'
identifier: identical.alwaysFalse
count: 1
path: src/Message/AbstractPart.php
-
message: '#^Interface Ddeboer\\Imap\\Message\\PartInterface extends generic interface RecursiveIterator but does not specify its types\: TKey, TValue$#'
identifier: missingType.generics
count: 1
path: src/Message/PartInterface.php
-
message: '#^Call to function is_int\(\) with Ddeboer\\Imap\\MessageInterface will always evaluate to false\.$#'
identifier: function.impossibleType
count: 1
path: src/MessageIterator.php
-
message: '#^Class ArrayIterator specifies template type TKey of interface Iterator as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/MessageIterator.php
-
message: '#^Class ArrayIterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/MessageIterator.php
-
message: '#^Interface Iterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 2
path: src/MessageIterator.php
-
message: '#^Interface SeekableIterator specifies template type TKey of interface Iterator as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/MessageIterator.php
-
message: '#^Interface SeekableIterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/MessageIterator.php
-
message: '#^Parameter \#1 \$array of method ArrayIterator\<int,Ddeboer\\Imap\\MessageInterface\>\:\:__construct\(\) expects array\<int, Ddeboer\\Imap\\MessageInterface\>, array\<int\> given\.$#'
identifier: argument.type
count: 1
path: src/MessageIterator.php
-
message: '#^Property Ddeboer\\Imap\\MessageIterator\:\:\$resource is never read, only written\.$#'
identifier: property.onlyWritten
count: 1
path: src/MessageIterator.php
-
message: '#^Unreachable statement \- code above always terminates\.$#'
identifier: deadCode.unreachable
count: 1
path: src/MessageIterator.php
-
message: '#^Class ArrayIterator specifies template type TKey of interface Iterator as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/Test/RawMessageIterator.php
-
message: '#^Class ArrayIterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/Test/RawMessageIterator.php
-
message: '#^Interface Iterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 2
path: src/Test/RawMessageIterator.php
-
message: '#^Interface SeekableIterator specifies template type TKey of interface Iterator as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/Test/RawMessageIterator.php
-
message: '#^Interface SeekableIterator specifies template type TKey of interface Traversable as int but it''s already specified as mixed\.$#'
identifier: generics.interfaceConflict
count: 1
path: src/Test/RawMessageIterator.php
-
message: '#^Call to static method PHPUnit\\Framework\\Assert\:\:assertInstanceOf\(\) with ''Ddeboer\\\\Imap\\\\Message\\\\EmailAddress'' and Ddeboer\\Imap\\Message\\EmailAddress will always evaluate to true\.$#'
identifier: staticMethod.alreadyNarrowedType
count: 2
path: tests/MessageTest.php
-
message: '#^Offset string\|null might not exist on array\{''data\.xml''\: ''PHhtbC8\+'', ''postacert\.eml''\: ''test\-content'', ''smime\.p7s''\: ''MQ\=\=''\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: tests/MessageTest.php
-
message: '#^Offset string\|null might not exist on array\{''first\.eml''\: ''Subject\: FIRST'', ''chrome\.png''\: ''ZFM4jELaoSdLtElJrUj…'', ''second\.eml''\: ''Subject\: SECOND''\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: tests/MessageTest.php