|
1 | 1 | parameters:
|
2 | 2 | ignoreErrors:
|
3 | 3 | -
|
4 |
| - message: "#^Property chillerlan\\\\QRCodeBenchmark\\\\DecoderBenchmark\\:\\:\\$imageBlob \\(string\\) does not accept GdImage\\|string\\.$#" |
| 4 | + message: '#^Property chillerlan\\QRCodeBenchmark\\DecoderBenchmark\:\:\$imageBlob \(string\) does not accept GdImage\|string\.$#' |
| 5 | + identifier: assign.propertyType |
5 | 6 | count: 1
|
6 | 7 | path: benchmark/DecoderBenchmark.php
|
7 | 8 |
|
8 | 9 | -
|
9 |
| - message: "#^Parameter \\#1 \\$segment of method chillerlan\\\\QRCode\\\\QRCode\\:\\:addSegment\\(\\) expects chillerlan\\\\QRCode\\\\Data\\\\QRDataModeInterface, object given\\.$#" |
| 10 | + message: '#^Parameter \#1 \$segment of method chillerlan\\QRCode\\QRCode\:\:addSegment\(\) expects chillerlan\\QRCode\\Data\\QRDataModeInterface, object given\.$#' |
| 11 | + identifier: argument.type |
10 | 12 | count: 1
|
11 | 13 | path: benchmark/QRCodeBenchmark.php
|
12 | 14 |
|
13 | 15 | -
|
14 |
| - message: "#^Parameter \\#2 \\$dataSegments of class chillerlan\\\\QRCode\\\\Data\\\\QRData constructor expects array\\<chillerlan\\\\QRCode\\\\Data\\\\QRDataModeInterface\\>, array\\<int, object\\> given\\.$#" |
| 16 | + message: '#^Parameter \#2 \$dataSegments of class chillerlan\\QRCode\\Data\\QRData constructor expects array\<chillerlan\\QRCode\\Data\\QRDataModeInterface\>, array\<int, object\> given\.$#' |
| 17 | + identifier: argument.type |
15 | 18 | count: 2
|
16 | 19 | path: benchmark/QRDataBenchmark.php
|
17 | 20 |
|
18 | 21 | -
|
19 |
| - message: "#^Parameter \\#1 \\$string of function strtolower expects string, int\\|string given\\.$#" |
| 22 | + message: '#^Parameter \#1 \$string of function strtolower expects string, int\|string given\.$#' |
| 23 | + identifier: argument.type |
20 | 24 | count: 1
|
21 | 25 | path: benchmark/generate-markdown.php
|
22 | 26 |
|
23 | 27 | -
|
24 |
| - message: "#^Offset 'name' does not exist on array\\<int, mixed\\>\\.$#" |
| 28 | + message: '#^Offset ''name'' does not exist on array\<int, mixed\>\.$#' |
| 29 | + identifier: offsetAccess.notFound |
25 | 30 | count: 1
|
26 | 31 | path: benchmark/parse-common.php
|
27 | 32 |
|
28 | 33 | -
|
29 |
| - message: "#^Offset 'results' does not exist on array\\<int, mixed\\>\\.$#" |
| 34 | + message: '#^Offset ''results'' does not exist on array\<int, mixed\>\.$#' |
| 35 | + identifier: offsetAccess.notFound |
30 | 36 | count: 1
|
31 | 37 | path: benchmark/parse-common.php
|
32 | 38 |
|
33 | 39 | -
|
34 |
| - message: "#^Offset 0 does not exist on array\\{\\}\\.$#" |
| 40 | + message: '#^Offset 0 does not exist on array\{\}\.$#' |
| 41 | + identifier: offsetAccess.notFound |
35 | 42 | count: 1
|
36 | 43 | path: benchmark/parse-common.php
|
37 | 44 |
|
38 | 45 | -
|
39 |
| - message: "#^Function chillerlan\\\\QRCodeBenchmark\\\\parseLine\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 46 | + message: '#^Function chillerlan\\QRCodeBenchmark\\parseLine\(\) return type has no value type specified in iterable type array\.$#' |
| 47 | + identifier: missingType.iterableValue |
40 | 48 | count: 1
|
41 | 49 | path: benchmark/parse-result.php
|
42 | 50 |
|
43 | 51 | -
|
44 |
| - message: "#^Parameter \\#1 \\$string of function trim expects string, string\\|false given\\.$#" |
| 52 | + message: '#^Parameter \#1 \$string of function trim expects string, string\|false given\.$#' |
| 53 | + identifier: argument.type |
45 | 54 | count: 1
|
46 | 55 | path: benchmark/parse-result.php
|
47 | 56 |
|
48 | 57 | -
|
49 |
| - message: "#^Property chillerlan\\\\QRCode\\\\QROptions\\:\\:\\$eccLevel \\(int\\) does not accept string\\.$#" |
| 58 | + message: '#^Property chillerlan\\QRCode\\QROptions\:\:\$eccLevel \(int\) does not accept string\.$#' |
| 59 | + identifier: assign.propertyType |
50 | 60 | count: 1
|
51 | 61 | path: examples/custom_output.php
|
52 | 62 |
|
53 | 63 | -
|
54 |
| - message: "#^Parameter \\#1 \\$width of function imagecreatetruecolor expects int\\<1, max\\>, int given\\.$#" |
| 64 | + message: '#^Parameter \#1 \$width of function imagecreatetruecolor expects int\<1, max\>, int given\.$#' |
| 65 | + identifier: argument.type |
55 | 66 | count: 1
|
56 | 67 | path: examples/imageWithText.php
|
57 | 68 |
|
58 | 69 | -
|
59 |
| - message: "#^Parameter \\#2 \\$color of function imagecolortransparent expects int\\|null, int\\<0, max\\>\\|false given\\.$#" |
| 70 | + message: '#^Parameter \#2 \$color of function imagecolortransparent expects int\|null, int\<0, max\>\|false given\.$#' |
| 71 | + identifier: argument.type |
60 | 72 | count: 1
|
61 | 73 | path: examples/imageWithText.php
|
62 | 74 |
|
63 | 75 | -
|
64 |
| - message: "#^Parameter \\#2 \\$height of function imagecreatetruecolor expects int\\<1, max\\>, int given\\.$#" |
| 76 | + message: '#^Parameter \#2 \$height of function imagecreatetruecolor expects int\<1, max\>, int given\.$#' |
| 77 | + identifier: argument.type |
65 | 78 | count: 1
|
66 | 79 | path: examples/imageWithText.php
|
67 | 80 |
|
68 | 81 | -
|
69 |
| - message: "#^Parameter \\#6 \\$color of function imagechar expects int, int\\<0, max\\>\\|false given\\.$#" |
| 82 | + message: '#^Parameter \#6 \$color of function imagechar expects int, int\<0, max\>\|false given\.$#' |
| 83 | + identifier: argument.type |
70 | 84 | count: 1
|
71 | 85 | path: examples/imageWithText.php
|
72 | 86 |
|
73 | 87 | -
|
74 |
| - message: "#^Parameter \\#6 \\$color of function imagefilledrectangle expects int, int\\<0, max\\>\\|false given\\.$#" |
| 88 | + message: '#^Parameter \#6 \$color of function imagefilledrectangle expects int, int\<0, max\>\|false given\.$#' |
| 89 | + identifier: argument.type |
75 | 90 | count: 1
|
76 | 91 | path: examples/imageWithText.php
|
77 | 92 |
|
78 | 93 | -
|
79 |
| - message: "#^Parameter \\#1 \\(Intervention\\\\Image\\\\Interfaces\\\\ImageInterface\\|string\\) of echo cannot be converted to string\\.$#" |
| 94 | + message: '#^Parameter \#1 \(Intervention\\Image\\Interfaces\\ImageInterface\|string\) of echo cannot be converted to string\.$#' |
| 95 | + identifier: echo.nonString |
80 | 96 | count: 1
|
81 | 97 | path: examples/intervention-image.php
|
82 | 98 |
|
83 | 99 | -
|
84 |
| - message: "#^Method RandomDotsSVGOutput\\:\\:collectModules\\(\\) should return array\\<int, mixed\\> but returns array\\<int\\|string, array\\<int, mixed\\>\\>\\.$#" |
| 100 | + message: '#^Method RandomDotsSVGOutput\:\:collectModules\(\) should return array\<int, mixed\> but returns array\<int\|string, list\<mixed\>\>\.$#' |
| 101 | + identifier: return.type |
85 | 102 | count: 1
|
86 | 103 | path: examples/svgRandomColoredDots.php
|
87 | 104 |
|
88 | 105 | -
|
89 |
| - message: "#^Method RoundQuietzoneSVGoutput\\:\\:collectModules\\(\\) should return array\\<int, mixed\\> but returns array\\<int\\|string, array\\<int, mixed\\>\\>\\.$#" |
| 106 | + message: '#^Method RoundQuietzoneSVGoutput\:\:collectModules\(\) should return array\<int, mixed\> but returns array\<int\|string, list\<mixed\>\>\.$#' |
| 107 | + identifier: return.type |
90 | 108 | count: 1
|
91 | 109 | path: examples/svgRoundQuietzone.php
|
92 | 110 |
|
93 | 111 | -
|
94 |
| - message: "#^Parameter \\#1 \\$data of function imagecreatefromstring expects string, string\\|false given\\.$#" |
| 112 | + message: '#^Parameter \#1 \$data of function imagecreatefromstring expects string, string\|false given\.$#' |
| 113 | + identifier: argument.type |
95 | 114 | count: 1
|
96 | 115 | path: src/Common/GDLuminanceSource.php
|
97 | 116 |
|
98 | 117 | -
|
99 |
| - message: "#^Parameter \\#1 \\$gdImage of class chillerlan\\\\QRCode\\\\Common\\\\GDLuminanceSource constructor expects GdImage, GdImage\\|false given\\.$#" |
| 118 | + message: '#^Parameter \#1 \$gdImage of class chillerlan\\QRCode\\Common\\GDLuminanceSource constructor expects GdImage, GdImage\|false given\.$#' |
| 119 | + identifier: argument.type |
100 | 120 | count: 2
|
101 | 121 | path: src/Common/GDLuminanceSource.php
|
102 | 122 |
|
103 | 123 | -
|
104 |
| - message: "#^Parameter \\#2 \\$color of function imagecolorsforindex expects int, int\\<0, max\\>\\|false given\\.$#" |
| 124 | + message: '#^Parameter \#2 \$color of function imagecolorsforindex expects int, int\<0, max\>\|false given\.$#' |
| 125 | + identifier: argument.type |
105 | 126 | count: 1
|
106 | 127 | path: src/Common/GDLuminanceSource.php
|
107 | 128 |
|
108 | 129 | -
|
109 |
| - message: "#^Parameter \\#1 \\$maskPattern of class chillerlan\\\\QRCode\\\\Common\\\\MaskPattern constructor expects int, int\\|false given\\.$#" |
| 130 | + message: '#^Parameter \#1 \$maskPattern of class chillerlan\\QRCode\\Common\\MaskPattern constructor expects int, int\|false given\.$#' |
| 131 | + identifier: argument.type |
110 | 132 | count: 1
|
111 | 133 | path: src/Common/MaskPattern.php
|
112 | 134 |
|
113 | 135 | -
|
114 |
| - message: "#^Method chillerlan\\\\QRCode\\\\Common\\\\Version\\:\\:getRSBlocks\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 136 | + message: '#^Method chillerlan\\QRCode\\Common\\Version\:\:getRSBlocks\(\) return type has no value type specified in iterable type array\.$#' |
| 137 | + identifier: missingType.iterableValue |
115 | 138 | count: 1
|
116 | 139 | path: src/Common/Version.php
|
117 | 140 |
|
118 | 141 | -
|
119 |
| - message: "#^Parameter \\#1 \\$encoding of function mb_detect_order expects non\\-empty\\-list\\<non\\-falsy\\-string\\>\\|non\\-falsy\\-string\\|null, array\\{string, 'UTF\\-8', 'GB2312', 'GB18030', 'CP936', 'EUC\\-CN', 'HZ'\\} given\\.$#" |
| 142 | + message: '#^Parameter \#1 \$encoding of function mb_detect_order expects non\-empty\-list\<non\-falsy\-string\>\|non\-falsy\-string\|null, array\{string, ''UTF\-8'', ''GB2312'', ''GB18030'', ''CP936'', ''EUC\-CN'', ''HZ''\} given\.$#' |
| 143 | + identifier: argument.type |
120 | 144 | count: 1
|
121 | 145 | path: src/Data/Hanzi.php
|
122 | 146 |
|
123 | 147 | -
|
124 |
| - message: "#^Parameter \\#1 \\$encoding of function mb_detect_order expects non\\-empty\\-list\\<non\\-falsy\\-string\\>\\|non\\-falsy\\-string\\|null, array\\{string, 'UTF\\-8', 'SJIS', 'SJIS\\-2004'\\} given\\.$#" |
| 148 | + message: '#^Parameter \#1 \$encoding of function mb_detect_order expects non\-empty\-list\<non\-falsy\-string\>\|non\-falsy\-string\|null, array\{string, ''UTF\-8'', ''SJIS'', ''SJIS\-2004''\} given\.$#' |
| 149 | + identifier: argument.type |
125 | 150 | count: 1
|
126 | 151 | path: src/Data/Kanji.php
|
127 | 152 |
|
128 | 153 | -
|
129 |
| - message: "#^Parameter \\#1 \\$version of class chillerlan\\\\QRCode\\\\Data\\\\ReedSolomonEncoder constructor expects chillerlan\\\\QRCode\\\\Common\\\\Version, chillerlan\\\\QRCode\\\\Common\\\\Version\\|null given\\.$#" |
| 154 | + message: '#^Parameter \#1 \$version of class chillerlan\\QRCode\\Data\\ReedSolomonEncoder constructor expects chillerlan\\QRCode\\Common\\Version, chillerlan\\QRCode\\Common\\Version\|null given\.$#' |
| 155 | + identifier: argument.type |
130 | 156 | count: 1
|
131 | 157 | path: src/Data/QRMatrix.php
|
132 | 158 |
|
133 | 159 | -
|
134 |
| - message: "#^Parameter \\#2 \\$eccLevel of class chillerlan\\\\QRCode\\\\Data\\\\ReedSolomonEncoder constructor expects chillerlan\\\\QRCode\\\\Common\\\\EccLevel, chillerlan\\\\QRCode\\\\Common\\\\EccLevel\\|null given\\.$#" |
| 160 | + message: '#^Parameter \#2 \$eccLevel of class chillerlan\\QRCode\\Data\\ReedSolomonEncoder constructor expects chillerlan\\QRCode\\Common\\EccLevel, chillerlan\\QRCode\\Common\\EccLevel\|null given\.$#' |
| 161 | + identifier: argument.type |
135 | 162 | count: 1
|
136 | 163 | path: src/Data/QRMatrix.php
|
137 | 164 |
|
138 | 165 | -
|
139 |
| - message: "#^Parameter \\#1 \\$maskPattern of method chillerlan\\\\QRCode\\\\Data\\\\QRMatrix\\:\\:mask\\(\\) expects chillerlan\\\\QRCode\\\\Common\\\\MaskPattern, chillerlan\\\\QRCode\\\\Common\\\\MaskPattern\\|null given\\.$#" |
| 166 | + message: '#^Parameter \#1 \$maskPattern of method chillerlan\\QRCode\\Data\\QRMatrix\:\:mask\(\) expects chillerlan\\QRCode\\Common\\MaskPattern, chillerlan\\QRCode\\Common\\MaskPattern\|null given\.$#' |
| 167 | + identifier: argument.type |
140 | 168 | count: 1
|
141 | 169 | path: src/Decoder/BitMatrix.php
|
142 | 170 |
|
143 | 171 | -
|
144 |
| - message: "#^Parameter \\#1 \\$version of class chillerlan\\\\QRCode\\\\Data\\\\QRMatrix constructor expects chillerlan\\\\QRCode\\\\Common\\\\Version, chillerlan\\\\QRCode\\\\Common\\\\Version\\|null given\\.$#" |
| 172 | + message: '#^Parameter \#1 \$version of class chillerlan\\QRCode\\Data\\QRMatrix constructor expects chillerlan\\QRCode\\Common\\Version, chillerlan\\QRCode\\Common\\Version\|null given\.$#' |
| 173 | + identifier: argument.type |
145 | 174 | count: 1
|
146 | 175 | path: src/Decoder/BitMatrix.php
|
147 | 176 |
|
148 | 177 | -
|
149 |
| - message: "#^Parameter \\#2 \\$b of method chillerlan\\\\QRCode\\\\Decoder\\\\BitMatrix\\:\\:numBitsDiffering\\(\\) expects int, int\\|null given\\.$#" |
| 178 | + message: '#^Parameter \#2 \$b of method chillerlan\\QRCode\\Decoder\\BitMatrix\:\:numBitsDiffering\(\) expects int, int\|null given\.$#' |
| 179 | + identifier: argument.type |
150 | 180 | count: 1
|
151 | 181 | path: src/Decoder/BitMatrix.php
|
152 | 182 |
|
153 | 183 | -
|
154 |
| - message: "#^Parameter \\#2 \\$eccLevel of class chillerlan\\\\QRCode\\\\Data\\\\QRMatrix constructor expects chillerlan\\\\QRCode\\\\Common\\\\EccLevel, chillerlan\\\\QRCode\\\\Common\\\\EccLevel\\|null given\\.$#" |
| 184 | + message: '#^Parameter \#2 \$eccLevel of class chillerlan\\QRCode\\Data\\QRMatrix constructor expects chillerlan\\QRCode\\Common\\EccLevel, chillerlan\\QRCode\\Common\\EccLevel\|null given\.$#' |
| 185 | + identifier: argument.type |
155 | 186 | count: 1
|
156 | 187 | path: src/Decoder/BitMatrix.php
|
157 | 188 |
|
158 | 189 | -
|
159 |
| - message: "#^Property chillerlan\\\\QRCode\\\\Decoder\\\\Decoder\\:\\:\\$options is never read, only written\\.$#" |
| 190 | + message: '#^Property chillerlan\\QRCode\\Decoder\\Decoder\:\:\$options is never read, only written\.$#' |
| 191 | + identifier: property.onlyWritten |
160 | 192 | count: 1
|
161 | 193 | path: src/Decoder/Decoder.php
|
162 | 194 |
|
163 | 195 | -
|
164 |
| - message: "#^Method chillerlan\\\\QRCode\\\\Decoder\\\\ReedSolomonDecoder\\:\\:deinterleaveRawBytes\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 196 | + message: '#^Method chillerlan\\QRCode\\Decoder\\ReedSolomonDecoder\:\:deinterleaveRawBytes\(\) return type has no value type specified in iterable type array\.$#' |
| 197 | + identifier: missingType.iterableValue |
165 | 198 | count: 1
|
166 | 199 | path: src/Decoder/ReedSolomonDecoder.php
|
167 | 200 |
|
168 | 201 | -
|
169 |
| - message: "#^Parameter \\#1 \\$width of function imagecreatetruecolor expects int\\<1, max\\>, int given\\.$#" |
| 202 | + message: '#^Parameter \#1 \$width of function imagecreatetruecolor expects int\<1, max\>, int given\.$#' |
| 203 | + identifier: argument.type |
170 | 204 | count: 1
|
171 | 205 | path: src/Output/QRGdImage.php
|
172 | 206 |
|
173 | 207 | -
|
174 |
| - message: "#^Parameter \\#2 \\$height of function imagecreatetruecolor expects int\\<1, max\\>, int given\\.$#" |
| 208 | + message: '#^Parameter \#2 \$height of function imagecreatetruecolor expects int\<1, max\>, int given\.$#' |
| 209 | + identifier: argument.type |
175 | 210 | count: 1
|
176 | 211 | path: src/Output/QRGdImage.php
|
177 | 212 |
|
178 | 213 | -
|
179 |
| - message: "#^Method chillerlan\\\\QRCodeTest\\\\Common\\\\MaskPatternTest\\:\\:assertMask\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#" |
| 214 | + message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:assertMask\(\) has parameter \$expected with no value type specified in iterable type array\.$#' |
| 215 | + identifier: missingType.iterableValue |
180 | 216 | count: 1
|
181 | 217 | path: tests/Common/MaskPatternTest.php
|
182 | 218 |
|
183 | 219 | -
|
184 |
| - message: "#^Method chillerlan\\\\QRCodeTest\\\\Common\\\\MaskPatternTest\\:\\:maskPatternProvider\\(\\) return type has no value type specified in iterable type array\\.$#" |
| 220 | + message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:maskPatternProvider\(\) return type has no value type specified in iterable type array\.$#' |
| 221 | + identifier: missingType.iterableValue |
185 | 222 | count: 1
|
186 | 223 | path: tests/Common/MaskPatternTest.php
|
187 | 224 |
|
188 | 225 | -
|
189 |
| - message: "#^Method chillerlan\\\\QRCodeTest\\\\Common\\\\MaskPatternTest\\:\\:testMask\\(\\) has parameter \\$expected with no value type specified in iterable type array\\.$#" |
| 226 | + message: '#^Method chillerlan\\QRCodeTest\\Common\\MaskPatternTest\:\:testMask\(\) has parameter \$expected with no value type specified in iterable type array\.$#' |
| 227 | + identifier: missingType.iterableValue |
190 | 228 | count: 1
|
191 | 229 | path: tests/Common/MaskPatternTest.php
|
192 | 230 |
|
193 | 231 | -
|
194 |
| - message: "#^Parameter \\#1 \\$string of static method chillerlan\\\\QRCode\\\\Data\\\\QRDataModeInterface\\:\\:validateString\\(\\) expects string, string\\|false given\\.$#" |
| 232 | + message: '#^Parameter \#1 \$string of static method chillerlan\\QRCode\\Data\\QRDataModeInterface\:\:validateString\(\) expects string, string\|false given\.$#' |
| 233 | + identifier: argument.type |
195 | 234 | count: 1
|
196 | 235 | path: tests/Data/DataInterfaceTestAbstract.php
|
197 | 236 |
|
198 | 237 | -
|
199 |
| - message: "#^Parameter \\#2 \\$to_encoding of function mb_convert_encoding expects string, string\\|null given\\.$#" |
| 238 | + message: '#^Parameter \#2 \$to_encoding of function mb_convert_encoding expects string, string\|null given\.$#' |
| 239 | + identifier: argument.type |
200 | 240 | count: 1
|
201 | 241 | path: tests/Data/ECITest.php
|
202 | 242 |
|
203 | 243 | -
|
204 |
| - message: "#^Parameter \\#1 \\$blob of method chillerlan\\\\QRCode\\\\QRCode\\:\\:readFromBlob\\(\\) expects string, GdImage\\|string given\\.$#" |
| 244 | + message: '#^Parameter \#1 \$blob of method chillerlan\\QRCode\\QRCode\:\:readFromBlob\(\) expects string, GdImage\|string given\.$#' |
| 245 | + identifier: argument.type |
205 | 246 | count: 1
|
206 | 247 | path: tests/Data/QRDataTest.php
|
0 commit comments