|
7 | 7 | 'count' => 1,
|
8 | 8 | 'path' => __DIR__ . '/src/Secure.php',
|
9 | 9 | ];
|
10 |
| -$ignoreErrors[] = [ |
11 |
| - // identifier: offsetAccess.nonOffsetAccessible |
12 |
| - 'message' => '#^Cannot access offset \'blockSize\' on mixed\\.$#', |
13 |
| - 'count' => 2, |
14 |
| - 'path' => __DIR__ . '/src/Secure.php', |
15 |
| -]; |
16 |
| -$ignoreErrors[] = [ |
17 |
| - // identifier: offsetAccess.nonOffsetAccessible |
18 |
| - 'message' => '#^Cannot access offset \'cipherAlgorithm\' on mixed\\.$#', |
19 |
| - 'count' => 2, |
20 |
| - 'path' => __DIR__ . '/src/Secure.php', |
21 |
| -]; |
22 |
| -$ignoreErrors[] = [ |
23 |
| - // identifier: offsetAccess.nonOffsetAccessible |
24 |
| - 'message' => '#^Cannot access offset \'cipherChaining\' on mixed\\.$#', |
25 |
| - 'count' => 2, |
26 |
| - 'path' => __DIR__ . '/src/Secure.php', |
27 |
| -]; |
28 |
| -$ignoreErrors[] = [ |
29 |
| - // identifier: offsetAccess.nonOffsetAccessible |
30 |
| - 'message' => '#^Cannot access offset \'encryptedHmacKey\' on mixed\\.$#', |
31 |
| - 'count' => 1, |
32 |
| - 'path' => __DIR__ . '/src/Secure.php', |
33 |
| -]; |
34 |
| -$ignoreErrors[] = [ |
35 |
| - // identifier: offsetAccess.nonOffsetAccessible |
36 |
| - 'message' => '#^Cannot access offset \'encryptedHmacValue\' on mixed\\.$#', |
37 |
| - 'count' => 1, |
38 |
| - 'path' => __DIR__ . '/src/Secure.php', |
39 |
| -]; |
40 |
| -$ignoreErrors[] = [ |
41 |
| - // identifier: offsetAccess.nonOffsetAccessible |
42 |
| - 'message' => '#^Cannot access offset \'encryptedKeyValue\' on mixed\\.$#', |
43 |
| - 'count' => 1, |
44 |
| - 'path' => __DIR__ . '/src/Secure.php', |
45 |
| -]; |
46 |
| -$ignoreErrors[] = [ |
47 |
| - // identifier: offsetAccess.nonOffsetAccessible |
48 |
| - 'message' => '#^Cannot access offset \'encryptedVerifierHa…\' on mixed\\.$#', |
49 |
| - 'count' => 2, |
50 |
| - 'path' => __DIR__ . '/src/Secure.php', |
51 |
| -]; |
52 |
| -$ignoreErrors[] = [ |
53 |
| - // identifier: offsetAccess.nonOffsetAccessible |
54 |
| - 'message' => '#^Cannot access offset \'hashAlgorithm\' on mixed\\.$#', |
55 |
| - 'count' => 2, |
56 |
| - 'path' => __DIR__ . '/src/Secure.php', |
57 |
| -]; |
58 |
| -$ignoreErrors[] = [ |
59 |
| - // identifier: offsetAccess.nonOffsetAccessible |
60 |
| - 'message' => '#^Cannot access offset \'hashSize\' on mixed\\.$#', |
61 |
| - 'count' => 2, |
62 |
| - 'path' => __DIR__ . '/src/Secure.php', |
63 |
| -]; |
64 |
| -$ignoreErrors[] = [ |
65 |
| - // identifier: offsetAccess.nonOffsetAccessible |
66 |
| - 'message' => '#^Cannot access offset \'keyBits\' on mixed\\.$#', |
67 |
| - 'count' => 2, |
68 |
| - 'path' => __DIR__ . '/src/Secure.php', |
69 |
| -]; |
70 | 10 | $ignoreErrors[] = [
|
71 | 11 | // identifier: offsetAccess.nonOffsetAccessible
|
72 | 12 | 'message' => '#^Cannot access offset \'name\' on mixed\\.$#',
|
73 | 13 | 'count' => 3,
|
74 | 14 | 'path' => __DIR__ . '/src/Secure.php',
|
75 | 15 | ];
|
76 |
| -$ignoreErrors[] = [ |
77 |
| - // identifier: offsetAccess.nonOffsetAccessible |
78 |
| - 'message' => '#^Cannot access offset \'saltValue\' on mixed\\.$#', |
79 |
| - 'count' => 4, |
80 |
| - 'path' => __DIR__ . '/src/Secure.php', |
81 |
| -]; |
82 |
| -$ignoreErrors[] = [ |
83 |
| - // identifier: offsetAccess.nonOffsetAccessible |
84 |
| - 'message' => '#^Cannot access offset \'spinCount\' on mixed\\.$#', |
85 |
| - 'count' => 1, |
86 |
| - 'path' => __DIR__ . '/src/Secure.php', |
87 |
| -]; |
88 | 16 | $ignoreErrors[] = [
|
89 | 17 | // identifier: missingType.return
|
90 | 18 | 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:_convertPasswordToKey\\(\\) has no return type specified\\.$#',
|
|
289 | 217 | 'count' => 1,
|
290 | 218 | 'path' => __DIR__ . '/src/Secure.php',
|
291 | 219 | ];
|
292 |
| -$ignoreErrors[] = [ |
293 |
| - // identifier: missingType.return |
294 |
| - 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:_hmac\\(\\) has no return type specified\\.$#', |
295 |
| - 'count' => 1, |
296 |
| - 'path' => __DIR__ . '/src/Secure.php', |
297 |
| -]; |
298 |
| -$ignoreErrors[] = [ |
299 |
| - // identifier: missingType.parameter |
300 |
| - 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:_hmac\\(\\) has parameter \\$algorithm with no type specified\\.$#', |
301 |
| - 'count' => 1, |
302 |
| - 'path' => __DIR__ . '/src/Secure.php', |
303 |
| -]; |
304 |
| -$ignoreErrors[] = [ |
305 |
| - // identifier: missingType.parameter |
306 |
| - 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:_hmac\\(\\) has parameter \\$fileName with no type specified\\.$#', |
307 |
| - 'count' => 1, |
308 |
| - 'path' => __DIR__ . '/src/Secure.php', |
309 |
| -]; |
310 |
| -$ignoreErrors[] = [ |
311 |
| - // identifier: missingType.parameter |
312 |
| - 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:_hmac\\(\\) has parameter \\$key with no type specified\\.$#', |
313 |
| - 'count' => 1, |
314 |
| - 'path' => __DIR__ . '/src/Secure.php', |
315 |
| -]; |
316 |
| -$ignoreErrors[] = [ |
317 |
| - // identifier: missingType.return |
318 |
| - 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:build\\(\\) has no return type specified\\.$#', |
319 |
| - 'count' => 1, |
320 |
| - 'path' => __DIR__ . '/src/Secure.php', |
321 |
| -]; |
322 | 220 | $ignoreErrors[] = [
|
323 | 221 | // identifier: return.type
|
324 | 222 | 'message' => '#^Method PHPDevsr\\\\Spreadsheet\\\\Secure\\:\\:output\\(\\) should return string but returns string\\|false\\.$#',
|
|
331 | 229 | 'count' => 1,
|
332 | 230 | 'path' => __DIR__ . '/src/Secure.php',
|
333 | 231 | ];
|
334 |
| -$ignoreErrors[] = [ |
335 |
| - // identifier: argument.unpackNonIterable |
336 |
| - 'message' => '#^Only iterables can be unpacked, mixed given in argument \\#2\\.$#', |
337 |
| - 'count' => 7, |
338 |
| - 'path' => __DIR__ . '/src/Secure.php', |
339 |
| -]; |
340 | 232 | $ignoreErrors[] = [
|
341 | 233 | // identifier: argument.type
|
342 | 234 | 'message' => '#^Parameter \\#1 \\$array of function array_pad expects array, mixed given\\.$#',
|
|
412 | 304 | $ignoreErrors[] = [
|
413 | 305 | // identifier: argument.type
|
414 | 306 | 'message' => '#^Parameter \\#1 \\$value of function count expects array\\|Countable, mixed given\\.$#',
|
415 |
| - 'count' => 5, |
| 307 | + 'count' => 1, |
416 | 308 | 'path' => __DIR__ . '/src/Secure.php',
|
417 | 309 | ];
|
418 | 310 | $ignoreErrors[] = [
|
|
0 commit comments