|
4759 | 4759 | 'count' => 1, |
4760 | 4760 | 'path' => __DIR__ . '/src/DbUtils.php', |
4761 | 4761 | ]; |
4762 | | -$ignoreErrors[] = [ |
4763 | | - 'message' => '#^Parameter \\#1 \\$itemtype of static method Session\\:\\:haveTranslations\\(\\) expects string, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
4764 | | - 'identifier' => 'argument.type', |
4765 | | - 'count' => 3, |
4766 | | - 'path' => __DIR__ . '/src/DbUtils.php', |
4767 | | -]; |
4768 | 4762 | $ignoreErrors[] = [ |
4769 | 4763 | 'message' => '#^Parameter \\#1 \\$object_or_class of function is_a expects object\\|string, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
4770 | 4764 | 'identifier' => 'argument.type', |
|
5311 | 5305 | 'count' => 1, |
5312 | 5306 | 'path' => __DIR__ . '/src/Dropdown.php', |
5313 | 5307 | ]; |
5314 | | -$ignoreErrors[] = [ |
5315 | | - 'message' => '#^Parameter \\#1 \\$itemtype of static method Session\\:\\:haveTranslations\\(\\) expects string, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
5316 | | - 'identifier' => 'argument.type', |
5317 | | - 'count' => 2, |
5318 | | - 'path' => __DIR__ . '/src/Dropdown.php', |
5319 | | -]; |
5320 | 5308 | $ignoreErrors[] = [ |
5321 | 5309 | 'message' => '#^Parameter \\#1 \\$object_or_class of function is_a expects object\\|string, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
5322 | 5310 | 'identifier' => 'argument.type', |
|
13459 | 13447 | 'count' => 1, |
13460 | 13448 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13461 | 13449 | ]; |
13462 | | -$ignoreErrors[] = [ |
13463 | | - 'message' => '#^Binary operation "\\." between array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string and \' \\<\\> \' results in an error\\.$#', |
13464 | | - 'identifier' => 'binaryOp.invalid', |
13465 | | - 'count' => 1, |
13466 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13467 | | -]; |
13468 | | -$ignoreErrors[] = [ |
13469 | | - 'message' => '#^Binary operation "\\." between array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string and \' \\= \' results in an error\\.$#', |
13470 | | - 'identifier' => 'binaryOp.invalid', |
13471 | | - 'count' => 1, |
13472 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13473 | | -]; |
13474 | 13450 | $ignoreErrors[] = [ |
13475 | 13451 | 'message' => '#^Cannot access offset \'id\' on non\\-empty\\-array\\<non\\-empty\\-string, string\\|null\\>\\|int\\<1, max\\>\\|string\\.$#', |
13476 | 13452 | 'identifier' => 'offsetAccess.nonOffsetAccessible', |
|
13561 | 13537 | 'count' => 2, |
13562 | 13538 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13563 | 13539 | ]; |
13564 | | -$ignoreErrors[] = [ |
13565 | | - 'message' => '#^Parameter \\#1 \\$expression of class Glpi\\\\DBAL\\\\QueryExpression constructor expects string, array\\<string\\>\\|string given\\.$#', |
13566 | | - 'identifier' => 'argument.type', |
13567 | | - 'count' => 2, |
13568 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13569 | | -]; |
13570 | | -$ignoreErrors[] = [ |
13571 | | - 'message' => '#^Parameter \\#1 \\$expression of static method Glpi\\\\DBAL\\\\QueryFunction\\:\\:convert\\(\\) expects Glpi\\\\DBAL\\\\QueryExpression\\|string, array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string\\|null given\\.$#', |
13572 | | - 'identifier' => 'argument.type', |
13573 | | - 'count' => 1, |
13574 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13575 | | -]; |
13576 | | -$ignoreErrors[] = [ |
13577 | | - 'message' => '#^Parameter \\#1 \\$field of static method Glpi\\\\Search\\\\Provider\\\\SQLProvider\\:\\:makeTextCriteria\\(\\) expects string, array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string given\\.$#', |
13578 | | - 'identifier' => 'argument.type', |
13579 | | - 'count' => 3, |
13580 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13581 | | -]; |
13582 | 13540 | $ignoreErrors[] = [ |
13583 | 13541 | 'message' => '#^Parameter \\#1 \\$haystack of function str_contains expects string, int\\|string given\\.$#', |
13584 | 13542 | 'identifier' => 'argument.type', |
|
13609 | 13567 | 'count' => 1, |
13610 | 13568 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13611 | 13569 | ]; |
13612 | | -$ignoreErrors[] = [ |
13613 | | - 'message' => '#^Parameter \\#1 \\$itemtype of static method Session\\:\\:haveTranslations\\(\\) expects string, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
13614 | | - 'identifier' => 'argument.type', |
13615 | | - 'count' => 4, |
13616 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13617 | | -]; |
13618 | 13570 | $ignoreErrors[] = [ |
13619 | 13571 | 'message' => '#^Parameter \\#1 \\$num of function abs expects float\\|int, int\\<min, \\-1\\>\\|string given\\.$#', |
13620 | 13572 | 'identifier' => 'argument.type', |
|
13657 | 13609 | 'count' => 1, |
13658 | 13610 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13659 | 13611 | ]; |
13660 | | -$ignoreErrors[] = [ |
13661 | | - 'message' => '#^Parameter \\#1 \\$val of static method Glpi\\\\Search\\\\Provider\\\\SQLProvider\\:\\:makeTextSearchValue\\(\\) expects string, int\\|string given\\.$#', |
13662 | | - 'identifier' => 'argument.type', |
13663 | | - 'count' => 3, |
13664 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13665 | | -]; |
13666 | 13612 | $ignoreErrors[] = [ |
13667 | 13613 | 'message' => '#^Parameter \\#1 \\$val of static method Html\\:\\:computeGenericDateTimeSearch\\(\\) expects string, int\\|string given\\.$#', |
13668 | 13614 | 'identifier' => 'argument.type', |
@@ -13699,42 +13645,12 @@ |
13699 | 13645 | 'count' => 4, |
13700 | 13646 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13701 | 13647 | ]; |
13702 | | -$ignoreErrors[] = [ |
13703 | | - 'message' => '#^Parameter \\#2 \\$val of static method Glpi\\\\Search\\\\Provider\\\\SQLProvider\\:\\:makeTextCriteria\\(\\) expects string, int\\|string given\\.$#', |
13704 | | - 'identifier' => 'argument.type', |
13705 | | - 'count' => 2, |
13706 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13707 | | -]; |
13708 | | -$ignoreErrors[] = [ |
13709 | | - 'message' => '#^Parameter \\#3 \\$itemtype of static method Glpi\\\\Search\\\\Provider\\\\SQLProvider\\:\\:getDropdownTranslationJoinCriteria\\(\\) expects class\\-string\\<CommonDBTM\\>, class\\-string\\<CommonDBTM\\>\\|null given\\.$#', |
13710 | | - 'identifier' => 'argument.type', |
13711 | | - 'count' => 3, |
13712 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13713 | | -]; |
13714 | | -$ignoreErrors[] = [ |
13715 | | - 'message' => '#^Part \\$date_computation \\(array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string\\|null\\) of encapsed string cannot be cast to string\\.$#', |
13716 | | - 'identifier' => 'encapsedStringPart.nonString', |
13717 | | - 'count' => 2, |
13718 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13719 | | -]; |
13720 | | -$ignoreErrors[] = [ |
13721 | | - 'message' => '#^Part \\$tocompute \\(array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string\\) of encapsed string cannot be cast to string\\.$#', |
13722 | | - 'identifier' => 'encapsedStringPart.nonString', |
13723 | | - 'count' => 7, |
13724 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13725 | | -]; |
13726 | 13648 | $ignoreErrors[] = [ |
13727 | 13649 | 'message' => '#^Part \\$token \\(array\\<int\\>\\|int\\|string\\|null\\) of encapsed string cannot be cast to string\\.$#', |
13728 | 13650 | 'identifier' => 'encapsedStringPart.nonString', |
13729 | 13651 | 'count' => 1, |
13730 | 13652 | 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13731 | 13653 | ]; |
13732 | | -$ignoreErrors[] = [ |
13733 | | - 'message' => '#^Possibly invalid array key type array\\<string\\>\\|Glpi\\\\DBAL\\\\QueryExpression\\|string\\.$#', |
13734 | | - 'identifier' => 'array.invalidKey', |
13735 | | - 'count' => 3, |
13736 | | - 'path' => __DIR__ . '/src/Glpi/Search/Provider/SQLProvider.php', |
13737 | | -]; |
13738 | 13654 | $ignoreErrors[] = [ |
13739 | 13655 | 'message' => '#^Parameter \\#1 \\$itemtype of function getTableForItemType expects class\\-string\\<CommonDBTM\\>, string given\\.$#', |
13740 | 13656 | 'identifier' => 'argument.type', |
|
0 commit comments