|
| 1 | +<?php declare(strict_types = 1); |
| 2 | + |
| 3 | +$ignoreErrors = []; |
| 4 | +$ignoreErrors[] = [ |
| 5 | + // identifier: missingType.iterableValue |
| 6 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:filterAndroidBackgroundLayout\\(\\) has parameter \\$layouts with no value type specified in iterable type array\\.$#', |
| 7 | + 'count' => 1, |
| 8 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 9 | +]; |
| 10 | +$ignoreErrors[] = [ |
| 11 | + // identifier: missingType.iterableValue |
| 12 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:filterIosAttachments\\(\\) has parameter \\$attachments with no value type specified in iterable type array\\.$#', |
| 13 | + 'count' => 1, |
| 14 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 15 | +]; |
| 16 | +$ignoreErrors[] = [ |
| 17 | + // identifier: missingType.iterableValue |
| 18 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:filterWebButtons\\(\\) has parameter \\$buttons with no value type specified in iterable type array\\.$#', |
| 19 | + 'count' => 1, |
| 20 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 21 | +]; |
| 22 | +$ignoreErrors[] = [ |
| 23 | + // identifier: missingType.iterableValue |
| 24 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:normalizeButtons\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#', |
| 25 | + 'count' => 1, |
| 26 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 27 | +]; |
| 28 | +$ignoreErrors[] = [ |
| 29 | + // identifier: missingType.iterableValue |
| 30 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:normalizeButtons\\(\\) return type has no value type specified in iterable type array\\.$#', |
| 31 | + 'count' => 1, |
| 32 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 33 | +]; |
| 34 | +$ignoreErrors[] = [ |
| 35 | + // identifier: missingType.iterableValue |
| 36 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:normalizeFilters\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#', |
| 37 | + 'count' => 1, |
| 38 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 39 | +]; |
| 40 | +$ignoreErrors[] = [ |
| 41 | + // identifier: missingType.iterableValue |
| 42 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\NotificationResolver\\:\\:normalizeFilters\\(\\) return type has no value type specified in iterable type array\\.$#', |
| 43 | + 'count' => 1, |
| 44 | + 'path' => __DIR__ . '/src/Resolver/NotificationResolver.php', |
| 45 | +]; |
| 46 | +$ignoreErrors[] = [ |
| 47 | + // identifier: missingType.iterableValue |
| 48 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\SegmentResolver\\:\\:normalizeFilters\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#', |
| 49 | + 'count' => 1, |
| 50 | + 'path' => __DIR__ . '/src/Resolver/SegmentResolver.php', |
| 51 | +]; |
| 52 | +$ignoreErrors[] = [ |
| 53 | + // identifier: missingType.iterableValue |
| 54 | + 'message' => '#^Method OneSignal\\\\Resolver\\\\SegmentResolver\\:\\:normalizeFilters\\(\\) return type has no value type specified in iterable type array\\.$#', |
| 55 | + 'count' => 1, |
| 56 | + 'path' => __DIR__ . '/src/Resolver/SegmentResolver.php', |
| 57 | +]; |
| 58 | +$ignoreErrors[] = [ |
| 59 | + // identifier: argument.type |
| 60 | + 'message' => '#^Parameter \\#1 \\$success of class OneSignal\\\\Response\\\\Segment\\\\CreateSegmentResponse constructor expects bool, mixed given\\.$#', |
| 61 | + 'count' => 1, |
| 62 | + 'path' => __DIR__ . '/src/Response/Segment/CreateSegmentResponse.php', |
| 63 | +]; |
| 64 | +$ignoreErrors[] = [ |
| 65 | + // identifier: argument.type |
| 66 | + 'message' => '#^Parameter \\#2 \\$id of class OneSignal\\\\Response\\\\Segment\\\\CreateSegmentResponse constructor expects non\\-empty\\-string, mixed given\\.$#', |
| 67 | + 'count' => 1, |
| 68 | + 'path' => __DIR__ . '/src/Response/Segment/CreateSegmentResponse.php', |
| 69 | +]; |
| 70 | +$ignoreErrors[] = [ |
| 71 | + // identifier: argument.type |
| 72 | + 'message' => '#^Parameter \\#1 \\$success of class OneSignal\\\\Response\\\\Segment\\\\DeleteSegmentResponse constructor expects bool, mixed given\\.$#', |
| 73 | + 'count' => 1, |
| 74 | + 'path' => __DIR__ . '/src/Response/Segment/DeleteSegmentResponse.php', |
| 75 | +]; |
| 76 | +$ignoreErrors[] = [ |
| 77 | + // identifier: argument.type |
| 78 | + 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(array\\)\\: OneSignal\\\\Response\\\\Segment\\\\Segment given\\.$#', |
| 79 | + 'count' => 1, |
| 80 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 81 | +]; |
| 82 | +$ignoreErrors[] = [ |
| 83 | + // identifier: argument.type |
| 84 | + 'message' => '#^Parameter \\#1 \\$totalCount of class OneSignal\\\\Response\\\\Segment\\\\ListSegmentsResponse constructor expects int\\<0, max\\>, mixed given\\.$#', |
| 85 | + 'count' => 1, |
| 86 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 87 | +]; |
| 88 | +$ignoreErrors[] = [ |
| 89 | + // identifier: argument.type |
| 90 | + 'message' => '#^Parameter \\#2 \\$array of function array_map expects array, mixed given\\.$#', |
| 91 | + 'count' => 1, |
| 92 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 93 | +]; |
| 94 | +$ignoreErrors[] = [ |
| 95 | + // identifier: argument.type |
| 96 | + 'message' => '#^Parameter \\#2 \\$offset of class OneSignal\\\\Response\\\\Segment\\\\ListSegmentsResponse constructor expects int\\<0, 2147483648\\>, mixed given\\.$#', |
| 97 | + 'count' => 1, |
| 98 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 99 | +]; |
| 100 | +$ignoreErrors[] = [ |
| 101 | + // identifier: argument.type |
| 102 | + 'message' => '#^Parameter \\#3 \\$limit of class OneSignal\\\\Response\\\\Segment\\\\ListSegmentsResponse constructor expects int\\<0, 2147483648\\>, mixed given\\.$#', |
| 103 | + 'count' => 1, |
| 104 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 105 | +]; |
| 106 | +$ignoreErrors[] = [ |
| 107 | + // identifier: argument.type |
| 108 | + 'message' => '#^Parameter \\#4 \\$segments of class OneSignal\\\\Response\\\\Segment\\\\ListSegmentsResponse constructor expects list\\<OneSignal\\\\Response\\\\Segment\\\\Segment\\>, array\\<OneSignal\\\\Response\\\\Segment\\\\Segment\\> given\\.$#', |
| 109 | + 'count' => 1, |
| 110 | + 'path' => __DIR__ . '/src/Response/Segment/ListSegmentsResponse.php', |
| 111 | +]; |
| 112 | + |
| 113 | +return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
0 commit comments