-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan-baseline.neon
More file actions
157 lines (126 loc) · 5.14 KB
/
phpstan-baseline.neon
File metadata and controls
157 lines (126 loc) · 5.14 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
152
153
154
155
156
parameters:
ignoreErrors:
-
message: "#^Variable method call on Symfony\\\\Component\\\\Finder\\\\Finder\\.$#"
count: 1
path: src/deploy/PackageConfig.php
-
message: "#^Static method TUPAPI\\:\\:encode\\(\\) invoked with 10 parameters, 0 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:decode\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:putVector\\(\\) invoked with 3 parameters, 2 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:putMap\\(\\) invoked with 3 parameters, 2 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:putStruct\\(\\) invoked with 3 parameters, 0 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:getVector\\(\\) invoked with 5 parameters, 3 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:getMap\\(\\) invoked with 5 parameters, 3 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Static method TUPAPI\\:\\:getStruct\\(\\) invoked with 5 parameters, 0 required\\.$#"
count: 1
path: src/protocol/Packer.php
-
message: "#^Variable property access on mixed\\.$#"
count: 2
path: src/protocol/Packer.php
-
message: "#^Variable property access on mixed\\.$#"
count: 1
path: src/protocol/TypeConverter.php
-
message: "#^Class TARS_Map constructor invoked with 3 parameters, 2 required\\.$#"
count: 1
path: src/protocol/TypeConverter.php
-
message: "#^Variable property access on wenbinye\\\\tars\\\\protocol\\\\type\\\\GenericTarsStruct\\.$#"
count: 1
path: src/protocol/TypeConverter.php
-
message: "#^Variable property access on \\$this\\(wenbinye\\\\tars\\\\protocol\\\\type\\\\GenericTarsStruct\\)\\.$#"
count: 1
path: src/protocol/type/GenericTarsStruct.php
-
message: "#^Variable static method call on TUPAPI\\.$#"
count: 2
path: src/protocol/type/PrimitiveType.php
-
message: "#^Class wenbinye\\\\tars\\\\protocol\\\\type\\\\StructMap extends generic class ArrayIterator but does not specify its types\\: TKey, TValue$#"
count: 1
path: src/protocol/type/StructMap.php
-
message: "#^Parameter \\#1 \\$returnType of method Laminas\\\\Code\\\\Generator\\\\MethodGenerator\\:\\:setReturnType\\(\\) expects string\\|null, ReflectionType\\|null given\\.$#"
count: 1
path: src/rpc/ServantProxyGenerator.php
-
message: "#^Method wenbinye\\\\tars\\\\rpc\\\\connection\\\\SwooleCoroutineTcpConnection\\:\\:createSwooleClient\\(\\) should return Swoole\\\\Client but returns Swoole\\\\Coroutine\\\\Client\\.$#"
count: 1
path: src/rpc/connection/SwooleCoroutineTcpConnection.php
-
message: "#^Method wenbinye\\\\tars\\\\rpc\\\\message\\\\MethodMetadataFactory\\:\\:getTarsServantAnnotation\\(\\) has parameter \\$reflectionClass with generic class ReflectionClass but does not specify its types\\: T$#"
count: 1
path: src/rpc/message/MethodMetadataFactory.php
-
message: "#^Static method TUPAPI\\:\\:encode\\(\\) invoked with 10 parameters, 0 required\\.$#"
count: 1
path: src/rpc/message/Request.php
-
message: "#^Static method TUPAPI\\:\\:decodeReqPacket\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: src/rpc/message/tup/RequestPacket.php
-
message: "#^Static method TUPAPI\\:\\:decodeReqPacket\\(\\) invoked with 1 parameter, 0 required\\.$#"
count: 1
path: src/rpc/message/tup/ResponsePacket.php
-
message: "#^Static method TUPAPI\\:\\:decode\\(\\) invoked with 2 parameters, 0 required\\.$#"
count: 1
path: src/rpc/message/tup/ResponsePacket.php
-
message: "#^Static method TUPAPI\\:\\:encode\\(\\) invoked with 10 parameters, 0 required\\.$#"
count: 1
path: src/rpc/message/tup/ResponsePacket.php
-
message: "#^Static method TUPAPI\\:\\:encodeRspPacket\\(\\) invoked with 8 parameters, 0 required\\.$#"
count: 1
path: src/rpc/message/tup/ResponsePacket.php
-
message: "#^Only booleans are allowed in \\|\\|, mixed given on the right side\\.$#"
count: 1
path: src/rpc/middleware/AbstractRequestLog.php
-
message: "#^Variable property access on \\$this\\(wenbinye\\\\tars\\\\rpc\\\\route\\\\ServerAddress\\)\\.$#"
count: 2
path: src/rpc/route/ServerAddress.php
-
message: "#^Anonymous function should have native return typehint \"Closure\\(\\)\\: mixed\"\\.$#"
count: 1
path: src/server/ServerApplication.php
-
message: "#^Call to an undefined method kuiper\\\\logger\\\\LoggerFactoryInterface\\:\\:getLoggers\\(\\)\\.$#"
count: 1
path: src/server/listener/StartLogRotate.php
-
message: "#^Method wenbinye\\\\tars\\\\server\\\\task\\\\ReportTaskProcessor\\:\\:process\\(\\) should return mixed but return statement is missing\\.$#"
count: 1
path: src/server/task/ReportTaskProcessor.php
-
message: "#^Variable property access on wenbinye\\\\tars\\\\client\\\\StatMicMsgBody\\.$#"
count: 1
path: src/stat/SwooleTableStatStore.php