|
2896 | 2896 | $ignoreErrors[] = [ |
2897 | 2897 | 'message' => '#^Cannot call method getField\\(\\) on CommonDBTM\\|false\\.$#', |
2898 | 2898 | 'identifier' => 'method.nonObject', |
2899 | | - 'count' => 2, |
| 2899 | + 'count' => 1, |
2900 | 2900 | 'path' => __DIR__ . '/src/CommonDBTM.php', |
2901 | 2901 | ]; |
2902 | 2902 | $ignoreErrors[] = [ |
|
2912 | 2912 | 'path' => __DIR__ . '/src/CommonDBTM.php', |
2913 | 2913 | ]; |
2914 | 2914 | $ignoreErrors[] = [ |
2915 | | - 'message' => '#^Cannot call method isField\\(\\) on CommonDBTM\\|false\\.$#', |
| 2915 | + 'message' => '#^Cannot call method isDeleted\\(\\) on CommonDBTM\\|false\\.$#', |
2916 | 2916 | 'identifier' => 'method.nonObject', |
2917 | 2917 | 'count' => 1, |
2918 | 2918 | 'path' => __DIR__ . '/src/CommonDBTM.php', |
|
4184 | 4184 | 'path' => __DIR__ . '/src/Computer.php', |
4185 | 4185 | ]; |
4186 | 4186 | $ignoreErrors[] = [ |
4187 | | - 'message' => '#^Cannot call method getField\\(\\) on CommonDBTM\\|false\\.$#', |
| 4187 | + 'message' => '#^Cannot call method getFromDB\\(\\) on CommonDBTM\\|false\\.$#', |
4188 | 4188 | 'identifier' => 'method.nonObject', |
4189 | 4189 | 'count' => 1, |
4190 | 4190 | 'path' => __DIR__ . '/src/Computer.php', |
4191 | 4191 | ]; |
4192 | 4192 | $ignoreErrors[] = [ |
4193 | | - 'message' => '#^Cannot call method getFromDB\\(\\) on CommonDBTM\\|false\\.$#', |
| 4193 | + 'message' => '#^Cannot call method getID\\(\\) on CommonDBTM\\|false\\.$#', |
4194 | 4194 | 'identifier' => 'method.nonObject', |
4195 | 4195 | 'count' => 1, |
4196 | 4196 | 'path' => __DIR__ . '/src/Computer.php', |
4197 | 4197 | ]; |
4198 | 4198 | $ignoreErrors[] = [ |
4199 | | - 'message' => '#^Cannot call method getID\\(\\) on CommonDBTM\\|false\\.$#', |
| 4199 | + 'message' => '#^Cannot call method getLink\\(\\) on Agent\\|null\\.$#', |
4200 | 4200 | 'identifier' => 'method.nonObject', |
4201 | 4201 | 'count' => 1, |
4202 | 4202 | 'path' => __DIR__ . '/src/Computer.php', |
4203 | 4203 | ]; |
4204 | 4204 | $ignoreErrors[] = [ |
4205 | | - 'message' => '#^Cannot call method getLink\\(\\) on Agent\\|null\\.$#', |
| 4205 | + 'message' => '#^Cannot call method isGlobal\\(\\) on CommonDBTM\\|false\\.$#', |
4206 | 4206 | 'identifier' => 'method.nonObject', |
4207 | 4207 | 'count' => 1, |
4208 | 4208 | 'path' => __DIR__ . '/src/Computer.php', |
|
13988 | 13988 | 'path' => __DIR__ . '/src/ITILFollowup.php', |
13989 | 13989 | ]; |
13990 | 13990 | $ignoreErrors[] = [ |
13991 | | - 'message' => '#^Cannot call method getForeignKeyField\\(\\) on CommonDBTM\\|false\\|null\\.$#', |
13992 | | - 'identifier' => 'method.nonObject', |
| 13991 | + 'message' => '#^Cannot call static method getForeignKeyField\\(\\) on CommonDBTM\\|false\\|null\\.$#', |
| 13992 | + 'identifier' => 'staticMethod.nonObject', |
13993 | 13993 | 'count' => 1, |
13994 | 13994 | 'path' => __DIR__ . '/src/ITILFollowup.php', |
13995 | 13995 | ]; |
|
16219 | 16219 | 'count' => 1, |
16220 | 16220 | 'path' => __DIR__ . '/src/NotificationTargetCommonITILObject.php', |
16221 | 16221 | ]; |
16222 | | -$ignoreErrors[] = [ |
16223 | | - 'message' => '#^Cannot call method getField\\(\\) on \\(T of CommonITILObject\\)\\|null\\.$#', |
16224 | | - 'identifier' => 'method.nonObject', |
16225 | | - 'count' => 1, |
16226 | | - 'path' => __DIR__ . '/src/NotificationTargetCommonITILObject.php', |
16227 | | -]; |
16228 | 16222 | $ignoreErrors[] = [ |
16229 | 16223 | 'message' => '#^Cannot call method getField\\(\\) on CommonDBTM\\|false\\.$#', |
16230 | 16224 | 'identifier' => 'method.nonObject', |
|
16252 | 16246 | $ignoreErrors[] = [ |
16253 | 16247 | 'message' => '#^Cannot call method getID\\(\\) on \\(T of CommonITILObject\\)\\|null\\.$#', |
16254 | 16248 | 'identifier' => 'method.nonObject', |
16255 | | - 'count' => 1, |
| 16249 | + 'count' => 2, |
16256 | 16250 | 'path' => __DIR__ . '/src/NotificationTargetCommonITILObject.php', |
16257 | 16251 | ]; |
16258 | 16252 | $ignoreErrors[] = [ |
@@ -16606,19 +16600,19 @@ |
16606 | 16600 | $ignoreErrors[] = [ |
16607 | 16601 | 'message' => '#^Cannot access property \\$fields on Project\\|null\\.$#', |
16608 | 16602 | 'identifier' => 'property.nonObject', |
16609 | | - 'count' => 5, |
| 16603 | + 'count' => 23, |
16610 | 16604 | 'path' => __DIR__ . '/src/NotificationTargetProject.php', |
16611 | 16605 | ]; |
16612 | 16606 | $ignoreErrors[] = [ |
16613 | 16607 | 'message' => '#^Cannot call method getField\\(\\) on Project\\|null\\.$#', |
16614 | 16608 | 'identifier' => 'method.nonObject', |
16615 | | - 'count' => 26, |
| 16609 | + 'count' => 4, |
16616 | 16610 | 'path' => __DIR__ . '/src/NotificationTargetProject.php', |
16617 | 16611 | ]; |
16618 | 16612 | $ignoreErrors[] = [ |
16619 | 16613 | 'message' => '#^Cannot call method getID\\(\\) on Project\\|null\\.$#', |
16620 | 16614 | 'identifier' => 'method.nonObject', |
16621 | | - 'count' => 2, |
| 16615 | + 'count' => 6, |
16622 | 16616 | 'path' => __DIR__ . '/src/NotificationTargetProject.php', |
16623 | 16617 | ]; |
16624 | 16618 | $ignoreErrors[] = [ |
@@ -16660,19 +16654,19 @@ |
16660 | 16654 | $ignoreErrors[] = [ |
16661 | 16655 | 'message' => '#^Cannot access property \\$fields on ProjectTask\\|null\\.$#', |
16662 | 16656 | 'identifier' => 'property.nonObject', |
16663 | | - 'count' => 6, |
| 16657 | + 'count' => 26, |
16664 | 16658 | 'path' => __DIR__ . '/src/NotificationTargetProjectTask.php', |
16665 | 16659 | ]; |
16666 | 16660 | $ignoreErrors[] = [ |
16667 | 16661 | 'message' => '#^Cannot call method getField\\(\\) on ProjectTask\\|null\\.$#', |
16668 | 16662 | 'identifier' => 'method.nonObject', |
16669 | | - 'count' => 26, |
| 16663 | + 'count' => 3, |
16670 | 16664 | 'path' => __DIR__ . '/src/NotificationTargetProjectTask.php', |
16671 | 16665 | ]; |
16672 | 16666 | $ignoreErrors[] = [ |
16673 | 16667 | 'message' => '#^Cannot call method getID\\(\\) on ProjectTask\\|null\\.$#', |
16674 | 16668 | 'identifier' => 'method.nonObject', |
16675 | | - 'count' => 1, |
| 16669 | + 'count' => 4, |
16676 | 16670 | 'path' => __DIR__ . '/src/NotificationTargetProjectTask.php', |
16677 | 16671 | ]; |
16678 | 16672 | $ignoreErrors[] = [ |
|
16699 | 16693 | 'count' => 1, |
16700 | 16694 | 'path' => __DIR__ . '/src/NotificationTargetReservation.php', |
16701 | 16695 | ]; |
| 16696 | +$ignoreErrors[] = [ |
| 16697 | + 'message' => '#^Cannot access property \\$fields on Reservation\\|null\\.$#', |
| 16698 | + 'identifier' => 'property.nonObject', |
| 16699 | + 'count' => 4, |
| 16700 | + 'path' => __DIR__ . '/src/NotificationTargetReservation.php', |
| 16701 | +]; |
16702 | 16702 | $ignoreErrors[] = [ |
16703 | 16703 | 'message' => '#^Cannot assign new offset to array\\<array\\<string, mixed\\>\\|string\\>\\|string\\.$#', |
16704 | 16704 | 'identifier' => 'offsetAssign.dimType', |
|
16708 | 16708 | $ignoreErrors[] = [ |
16709 | 16709 | 'message' => '#^Cannot call method getField\\(\\) on Reservation\\|null\\.$#', |
16710 | 16710 | 'identifier' => 'method.nonObject', |
16711 | | - 'count' => 6, |
| 16711 | + 'count' => 1, |
| 16712 | + 'path' => __DIR__ . '/src/NotificationTargetReservation.php', |
| 16713 | +]; |
| 16714 | +$ignoreErrors[] = [ |
| 16715 | + 'message' => '#^Cannot call method getID\\(\\) on Reservation\\|null\\.$#', |
| 16716 | + 'identifier' => 'method.nonObject', |
| 16717 | + 'count' => 1, |
16712 | 16718 | 'path' => __DIR__ . '/src/NotificationTargetReservation.php', |
16713 | 16719 | ]; |
16714 | 16720 | $ignoreErrors[] = [ |
|
16730 | 16736 | 'path' => __DIR__ . '/src/NotificationTargetSavedSearch_Alert.php', |
16731 | 16737 | ]; |
16732 | 16738 | $ignoreErrors[] = [ |
16733 | | - 'message' => '#^Cannot call method getField\\(\\) on SavedSearch_Alert\\|null\\.$#', |
16734 | | - 'identifier' => 'method.nonObject', |
| 16739 | + 'message' => '#^Cannot access property \\$fields on SavedSearch_Alert\\|null\\.$#', |
| 16740 | + 'identifier' => 'property.nonObject', |
16735 | 16741 | 'count' => 1, |
16736 | 16742 | 'path' => __DIR__ . '/src/NotificationTargetSavedSearch_Alert.php', |
16737 | 16743 | ]; |
|
16760 | 16766 | 'path' => __DIR__ . '/src/NotificationTargetSoftwareLicense.php', |
16761 | 16767 | ]; |
16762 | 16768 | $ignoreErrors[] = [ |
16763 | | - 'message' => '#^Cannot call method getField\\(\\) on Ticket\\|null\\.$#', |
| 16769 | + 'message' => '#^Cannot call method getID\\(\\) on Ticket\\|null\\.$#', |
16764 | 16770 | 'identifier' => 'method.nonObject', |
16765 | 16771 | 'count' => 1, |
16766 | 16772 | 'path' => __DIR__ . '/src/NotificationTargetTicket.php', |
|
16774 | 16780 | $ignoreErrors[] = [ |
16775 | 16781 | 'message' => '#^Cannot access property \\$fields on User\\|null\\.$#', |
16776 | 16782 | 'identifier' => 'property.nonObject', |
16777 | | - 'count' => 2, |
| 16783 | + 'count' => 3, |
16778 | 16784 | 'path' => __DIR__ . '/src/NotificationTargetUser.php', |
16779 | 16785 | ]; |
16780 | 16786 | $ignoreErrors[] = [ |
|
16786 | 16792 | $ignoreErrors[] = [ |
16787 | 16793 | 'message' => '#^Cannot call method getField\\(\\) on User\\|null\\.$#', |
16788 | 16794 | 'identifier' => 'method.nonObject', |
16789 | | - 'count' => 4, |
| 16795 | + 'count' => 3, |
16790 | 16796 | 'path' => __DIR__ . '/src/NotificationTargetUser.php', |
16791 | 16797 | ]; |
16792 | 16798 | $ignoreErrors[] = [ |
|
16867 | 16873 | 'count' => 1, |
16868 | 16874 | 'path' => __DIR__ . '/src/NotificationTemplate.php', |
16869 | 16875 | ]; |
16870 | | -$ignoreErrors[] = [ |
16871 | | - 'message' => '#^Parameter \\#1 \\$object_or_class of function method_exists expects object\\|string, CommonGLPI\\|null given\\.$#', |
16872 | | - 'identifier' => 'argument.type', |
16873 | | - 'count' => 1, |
16874 | | - 'path' => __DIR__ . '/src/NotificationTemplate.php', |
16875 | | -]; |
16876 | 16876 | $ignoreErrors[] = [ |
16877 | 16877 | 'message' => '#^Parameter \\#1 \\$object_or_class of function property_exists expects object\\|string, CommonGLPI\\|null given\\.$#', |
16878 | 16878 | 'identifier' => 'argument.type', |
|
19093 | 19093 | 'count' => 1, |
19094 | 19094 | 'path' => __DIR__ . '/src/SavedSearch.php', |
19095 | 19095 | ]; |
| 19096 | +$ignoreErrors[] = [ |
| 19097 | + 'message' => '#^Parameter \\#1 \\$itemtype of method Search\\:\\:prepareDatasForSearch\\(\\) expects class\\-string\\<CommonDBTM\\>, class\\-string given\\.$#', |
| 19098 | + 'identifier' => 'argument.type', |
| 19099 | + 'count' => 1, |
| 19100 | + 'path' => __DIR__ . '/src/SavedSearch.php', |
| 19101 | +]; |
19096 | 19102 | $ignoreErrors[] = [ |
19097 | 19103 | 'message' => '#^Offset \'savedsearches_id\' might not exist on array\\<string, mixed\\>\\|null\\.$#', |
19098 | 19104 | 'identifier' => 'offsetAccess.notFound', |
|
19538 | 19544 | 'path' => __DIR__ . '/src/Telemetry.php', |
19539 | 19545 | ]; |
19540 | 19546 | $ignoreErrors[] = [ |
19541 | | - 'message' => '#^Cannot call method getField\\(\\) on CommonDBTM\\|false\\.$#', |
19542 | | - 'identifier' => 'method.nonObject', |
| 19547 | + 'message' => '#^Cannot access property \\$fields on CommonDBTM\\|false\\.$#', |
| 19548 | + 'identifier' => 'property.nonObject', |
19543 | 19549 | 'count' => 1, |
19544 | 19550 | 'path' => __DIR__ . '/src/Ticket.php', |
19545 | 19551 | ]; |
|
0 commit comments