-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
phpstan-baseline.neon
141 lines (114 loc) · 5.48 KB
/
phpstan-baseline.neon
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
parameters:
ignoreErrors:
-
message: "#^Parameter \\#2 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:unpack\\(\\) expects string, mixed given\\.$#"
count: 5
path: src/Protocol/Buffer.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Schema\\:\\:validateField\\(\\) expects array\\<string, mixed\\>, mixed given\\.$#"
count: 1
path: src/Protocol/Schema.php
-
message: "#^Property Lcobucci\\\\Kafka\\\\Protocol\\\\Schema\\:\\:\\$fields \\(array\\<int, Lcobucci\\\\Kafka\\\\Protocol\\\\Schema\\\\Field\\>\\) does not accept array\\<int\\|string, Lcobucci\\\\Kafka\\\\Protocol\\\\Schema\\\\Field\\>\\.$#"
count: 1
path: src/Protocol/Schema.php
-
message: "#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#"
count: 1
path: src/Protocol/SchemaValidationFailure.php
-
message: "#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#"
count: 3
path: src/Protocol/Type/ArrayOf.php
-
message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#"
count: 1
path: src/Protocol/Type/ArrayOf.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardRange\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int16.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:writeShort\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int16.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardRange\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int32.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:writeInt\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int32.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:writeLong\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int64.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardRange\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int8.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:writeByte\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/Int8.php
-
message: "#^Parameter \\#1 \\$content of static method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:fromContent\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NonNullableBytes.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardClass\\(\\) expects object\\|null, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NonNullableBytes.php
-
message: "#^Parameter \\#1 \\$object_or_class of function is_a expects object, mixed given\\.$#"
count: 2
path: src/Protocol/Type/NonNullableBytes.php
-
message: "#^Method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\\\NonNullableString\\:\\:read\\(\\) should return string but returns mixed\\.$#"
count: 1
path: src/Protocol/Type/NonNullableString.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardLength\\(\\) expects string\\|null, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NonNullableString.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, mixed given\\.$#"
count: 2
path: src/Protocol/Type/NonNullableString.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:write\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NonNullableString.php
-
message: "#^Parameter \\#1 \\$content of static method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:fromContent\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NullableBytes.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardClass\\(\\) expects object\\|null, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NullableBytes.php
-
message: "#^Method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\\\NullableString\\:\\:read\\(\\) should return string\\|null but returns mixed\\.$#"
count: 1
path: src/Protocol/Type/NullableString.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardLength\\(\\) expects string\\|null, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NullableString.php
-
message: "#^Parameter \\#1 \\$string of function strlen expects string, mixed given\\.$#"
count: 2
path: src/Protocol/Type/NullableString.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:write\\(\\) expects string, mixed given\\.$#"
count: 1
path: src/Protocol/Type/NullableString.php
-
message: "#^Parameter \\#1 \\$data of method Lcobucci\\\\Kafka\\\\Protocol\\\\Type\\:\\:guardRange\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/UnsignedInt32.php
-
message: "#^Parameter \\#1 \\$value of method Lcobucci\\\\Kafka\\\\Protocol\\\\Buffer\\:\\:writeUnsignedInt\\(\\) expects int, mixed given\\.$#"
count: 1
path: src/Protocol/Type/UnsignedInt32.php