|
7483 | 7483 | 'count' => 1, |
7484 | 7484 | 'path' => __DIR__ . '/system/I18n/Time.php', |
7485 | 7485 | ]; |
7486 | | -$ignoreErrors[] = [ |
7487 | | - // identifier: method.childReturnType |
7488 | | - 'message' => '#^Return type \\(CodeIgniter\\\\I18n\\\\Time\\) of method CodeIgniter\\\\I18n\\\\Time\\:\\:setTimestamp\\(\\) should be covariant with return type \\(static\\(DateTimeImmutable\\)\\) of method DateTimeImmutable\\:\\:setTimestamp\\(\\)$#', |
7489 | | - 'count' => 1, |
7490 | | - 'path' => __DIR__ . '/system/I18n/Time.php', |
7491 | | -]; |
7492 | | -$ignoreErrors[] = [ |
7493 | | - // identifier: method.childReturnType |
7494 | | - 'message' => '#^Return type \\(CodeIgniter\\\\I18n\\\\Time\\) of method CodeIgniter\\\\I18n\\\\Time\\:\\:setTimezone\\(\\) should be covariant with return type \\(static\\(DateTimeImmutable\\)\\) of method DateTimeImmutable\\:\\:setTimezone\\(\\)$#', |
7495 | | - 'count' => 1, |
7496 | | - 'path' => __DIR__ . '/system/I18n/Time.php', |
7497 | | -]; |
7498 | 7486 | $ignoreErrors[] = [ |
7499 | 7487 | // identifier: ternary.shortNotAllowed |
7500 | 7488 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
|
7507 | 7495 | 'count' => 1, |
7508 | 7496 | 'path' => __DIR__ . '/system/I18n/TimeLegacy.php', |
7509 | 7497 | ]; |
7510 | | -$ignoreErrors[] = [ |
7511 | | - // identifier: method.childReturnType |
7512 | | - 'message' => '#^Return type \\(CodeIgniter\\\\I18n\\\\TimeLegacy\\) of method CodeIgniter\\\\I18n\\\\TimeLegacy\\:\\:setTimestamp\\(\\) should be covariant with return type \\(static\\(DateTime\\)\\) of method DateTime\\:\\:setTimestamp\\(\\)$#', |
7513 | | - 'count' => 1, |
7514 | | - 'path' => __DIR__ . '/system/I18n/TimeLegacy.php', |
7515 | | -]; |
7516 | | -$ignoreErrors[] = [ |
7517 | | - // identifier: method.childReturnType |
7518 | | - 'message' => '#^Return type \\(CodeIgniter\\\\I18n\\\\TimeLegacy\\) of method CodeIgniter\\\\I18n\\\\TimeLegacy\\:\\:setTimezone\\(\\) should be covariant with return type \\(static\\(DateTime\\)\\) of method DateTime\\:\\:setTimezone\\(\\)$#', |
7519 | | - 'count' => 1, |
7520 | | - 'path' => __DIR__ . '/system/I18n/TimeLegacy.php', |
7521 | | -]; |
7522 | 7498 | $ignoreErrors[] = [ |
7523 | 7499 | // identifier: ternary.shortNotAllowed |
7524 | 7500 | 'message' => '#^Short ternary operator is not allowed\\. Use null coalesce operator if applicable or consider using long ternary\\.$#', |
|
0 commit comments