|
1 | 1 | <?php declare(strict_types = 1); |
2 | 2 |
|
3 | 3 | $ignoreErrors = []; |
4 | | -$ignoreErrors[] = [ |
5 | | - 'rawMessage' => 'Call to deprecated function random_string(): |
6 | | -The type \'basic\', \'md5\', and \'sha1\' are deprecated. They are not cryptographically secure.', |
7 | | - 'identifier' => 'function.deprecated', |
8 | | - 'count' => 1, |
9 | | - 'path' => __DIR__ . '/src/Authentication/Actions/Email2FA.php', |
10 | | -]; |
11 | 4 | $ignoreErrors[] = [ |
12 | 5 | 'rawMessage' => 'Call to function model with CodeIgniter\\Shield\\Models\\UserIdentityModel::class is discouraged.', |
13 | 6 | 'identifier' => 'codeigniter.factoriesClassConstFetch', |
|
20 | 13 | 'count' => 1, |
21 | 14 | 'path' => __DIR__ . '/src/Authentication/Actions/Email2FA.php', |
22 | 15 | ]; |
23 | | -$ignoreErrors[] = [ |
24 | | - 'rawMessage' => 'Call to deprecated function random_string(): |
25 | | -The type \'basic\', \'md5\', and \'sha1\' are deprecated. They are not cryptographically secure.', |
26 | | - 'identifier' => 'function.deprecated', |
27 | | - 'count' => 1, |
28 | | - 'path' => __DIR__ . '/src/Authentication/Actions/EmailActivator.php', |
29 | | -]; |
30 | 16 | $ignoreErrors[] = [ |
31 | 17 | 'rawMessage' => 'Call to function model with CodeIgniter\\Shield\\Models\\UserIdentityModel::class is discouraged.', |
32 | 18 | 'identifier' => 'codeigniter.factoriesClassConstFetch', |
|
195 | 181 | 'count' => 9, |
196 | 182 | 'path' => __DIR__ . '/src/Commands/User.php', |
197 | 183 | ]; |
198 | | -$ignoreErrors[] = [ |
199 | | - 'rawMessage' => 'Call to deprecated function random_string(): |
200 | | -The type \'basic\', \'md5\', and \'sha1\' are deprecated. They are not cryptographically secure.', |
201 | | - 'identifier' => 'function.deprecated', |
202 | | - 'count' => 1, |
203 | | - 'path' => __DIR__ . '/src/Controllers/MagicLinkController.php', |
204 | | -]; |
205 | 184 | $ignoreErrors[] = [ |
206 | 185 | 'rawMessage' => 'Call to function model with CodeIgniter\\Shield\\Models\\LoginModel::class is discouraged.', |
207 | 186 | 'identifier' => 'codeigniter.factoriesClassConstFetch', |
|
388 | 367 | 'count' => 1, |
389 | 368 | 'path' => __DIR__ . '/src/Filters/TokenAuth.php', |
390 | 369 | ]; |
391 | | -$ignoreErrors[] = [ |
392 | | - 'rawMessage' => 'Call to deprecated function random_string(): |
393 | | -The type \'basic\', \'md5\', and \'sha1\' are deprecated. They are not cryptographically secure.', |
394 | | - 'identifier' => 'function.deprecated', |
395 | | - 'count' => 1, |
396 | | - 'path' => __DIR__ . '/src/Models/TokenLoginModel.php', |
397 | | -]; |
398 | | -$ignoreErrors[] = [ |
399 | | - 'rawMessage' => 'Call to deprecated function random_string(): |
400 | | -The type \'basic\', \'md5\', and \'sha1\' are deprecated. They are not cryptographically secure.', |
401 | | - 'identifier' => 'function.deprecated', |
402 | | - 'count' => 1, |
403 | | - 'path' => __DIR__ . '/src/Models/UserIdentityModel.php', |
404 | | -]; |
405 | 370 | $ignoreErrors[] = [ |
406 | 371 | 'rawMessage' => 'Call to function model with CodeIgniter\\Shield\\Models\\GroupModel::class is discouraged.', |
407 | 372 | 'identifier' => 'codeigniter.factoriesClassConstFetch', |
|
462 | 427 | 'count' => 8, |
463 | 428 | 'path' => __DIR__ . '/tests/Authentication/Authenticators/SessionAuthenticatorTest.php', |
464 | 429 | ]; |
| 430 | +$ignoreErrors[] = [ |
| 431 | + 'rawMessage' => 'Parameter #1 $headers of method Tests\\Authentication\\Filters\\AbstractFilterTestCase::withHeaders() expects array<string, CodeIgniter\\HTTP\\Header|list<CodeIgniter\\HTTP\\Header>>, array{Authorization: non-falsy-string} given.', |
| 432 | + 'identifier' => 'argument.type', |
| 433 | + 'count' => 7, |
| 434 | + 'path' => __DIR__ . '/tests/Authentication/Filters/HmacFilterTest.php', |
| 435 | +]; |
| 436 | +$ignoreErrors[] = [ |
| 437 | + 'rawMessage' => 'Parameter #1 $headers of method Tests\\Authentication\\Filters\\JWTFilterTest::withHeaders() expects array<string, CodeIgniter\\HTTP\\Header|list<CodeIgniter\\HTTP\\Header>>, array{Authorization: non-falsy-string} given.', |
| 438 | + 'identifier' => 'argument.type', |
| 439 | + 'count' => 1, |
| 440 | + 'path' => __DIR__ . '/tests/Authentication/Filters/JWTFilterTest.php', |
| 441 | +]; |
465 | 442 | $ignoreErrors[] = [ |
466 | 443 | 'rawMessage' => 'Implicit array creation is not allowed - variable $users might not exist.', |
467 | 444 | 'identifier' => 'variable.implicitArray', |
|
0 commit comments