|
4 | 4 |
|
5 | 5 | $ignoreErrors = []; |
6 | 6 | $ignoreErrors[] = [ |
7 | | - // identifier: argument.type |
8 | 7 | 'message' => '#^Parameter \\#1 \\$name of method Geocoder\\\\ProviderAggregator\\:\\:using\\(\\) expects string, mixed given\\.$#', |
| 8 | + 'identifier' => 'argument.type', |
9 | 9 | 'count' => 1, |
10 | 10 | 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
11 | 11 | ]; |
12 | 12 | $ignoreErrors[] = [ |
13 | | - // identifier: argument.type |
14 | 13 | 'message' => '#^Parameter \\#1 \\$string of function strtolower expects string, string\\|null given\\.$#', |
| 14 | + 'identifier' => 'argument.type', |
15 | 15 | 'count' => 1, |
16 | 16 | 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
17 | 17 | ]; |
18 | 18 | $ignoreErrors[] = [ |
19 | | - // identifier: argument.type |
20 | 19 | 'message' => '#^Parameter \\#1 \\$text of static method Geocoder\\\\Query\\\\GeocodeQuery\\:\\:create\\(\\) expects string, mixed given\\.$#', |
| 20 | + 'identifier' => 'argument.type', |
21 | 21 | 'count' => 1, |
22 | 22 | 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
23 | 23 | ]; |
24 | 24 | $ignoreErrors[] = [ |
25 | | - // identifier: argument.type |
26 | 25 | 'message' => '#^Parameter \\#3 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#', |
| 26 | + 'identifier' => 'argument.type', |
27 | 27 | 'count' => 1, |
28 | 28 | 'path' => __DIR__.'/src/Command/GeocodeCommand.php', |
29 | 29 | ]; |
30 | 30 | $ignoreErrors[] = [ |
31 | | - // identifier: foreach.nonIterable |
| 31 | + 'message' => '#^Method Bazinga\\\\GeocoderBundle\\\\DataCollector\\\\GeocoderDataCollector\\:\\:getProviderQueries\\(\\) should return list\\<array\\{query\\: Geocoder\\\\Query\\\\Query, queryString\\: string, duration\\: float, providerName\\: string, result\\: mixed, resultCount\\: int\\}\\> but returns array\\.$#', |
| 32 | + 'identifier' => 'return.type', |
| 33 | + 'count' => 1, |
| 34 | + 'path' => __DIR__.'/src/DataCollector/GeocoderDataCollector.php', |
| 35 | +]; |
| 36 | +$ignoreErrors[] = [ |
32 | 37 | 'message' => '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\\.$#', |
| 38 | + 'identifier' => 'foreach.nonIterable', |
33 | 39 | 'count' => 3, |
34 | 40 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
35 | 41 | ]; |
36 | 42 | $ignoreErrors[] = [ |
37 | | - // identifier: offsetAccess.nonOffsetAccessible |
| 43 | + 'message' => '#^Binary operation "\\." between \'bazinga_geocoder…\' and mixed results in an error\\.$#', |
| 44 | + 'identifier' => 'binaryOp.invalid', |
| 45 | + 'count' => 1, |
| 46 | + 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
| 47 | +]; |
| 48 | +$ignoreErrors[] = [ |
38 | 49 | 'message' => '#^Cannot access offset \'aliases\' on mixed\\.$#', |
| 50 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
39 | 51 | 'count' => 1, |
40 | 52 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
41 | 53 | ]; |
42 | 54 | $ignoreErrors[] = [ |
43 | | - // identifier: offsetAccess.nonOffsetAccessible |
44 | 55 | 'message' => '#^Cannot access offset \'enabled\' on mixed\\.$#', |
| 56 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
45 | 57 | 'count' => 1, |
46 | 58 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
47 | 59 | ]; |
48 | 60 | $ignoreErrors[] = [ |
49 | | - // identifier: offsetAccess.nonOffsetAccessible |
50 | 61 | 'message' => '#^Cannot access offset \'factory\' on mixed\\.$#', |
| 62 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
51 | 63 | 'count' => 5, |
52 | 64 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
53 | 65 | ]; |
54 | 66 | $ignoreErrors[] = [ |
55 | | - // identifier: offsetAccess.nonOffsetAccessible |
56 | 67 | 'message' => '#^Cannot access offset \'id\' on mixed\\.$#', |
| 68 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
57 | 69 | 'count' => 1, |
58 | 70 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
59 | 71 | ]; |
60 | 72 | $ignoreErrors[] = [ |
61 | | - // identifier: offsetAccess.nonOffsetAccessible |
62 | 73 | 'message' => '#^Cannot access offset \'options\' on mixed\\.$#', |
| 74 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
63 | 75 | 'count' => 4, |
64 | 76 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
65 | 77 | ]; |
66 | 78 | $ignoreErrors[] = [ |
67 | | - // identifier: offsetAccess.nonOffsetAccessible |
68 | 79 | 'message' => '#^Cannot access offset \'reference\' on mixed\\.$#', |
| 80 | + 'identifier' => 'offsetAccess.nonOffsetAccessible', |
69 | 81 | 'count' => 2, |
70 | 82 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
71 | 83 | ]; |
72 | 84 | $ignoreErrors[] = [ |
73 | | - // identifier: staticMethod.nonObject |
74 | 85 | 'message' => '#^Cannot call static method validate\\(\\) on mixed\\.$#', |
| 86 | + 'identifier' => 'staticMethod.nonObject', |
75 | 87 | 'count' => 1, |
76 | 88 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
77 | 89 | ]; |
78 | 90 | $ignoreErrors[] = [ |
79 | | - // identifier: cast.string |
80 | 91 | 'message' => '#^Cannot cast mixed to string\\.$#', |
| 92 | + 'identifier' => 'cast.string', |
81 | 93 | 'count' => 1, |
82 | 94 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
83 | 95 | ]; |
84 | 96 | $ignoreErrors[] = [ |
85 | | - // identifier: argument.type |
86 | 97 | 'message' => '#^Parameter \\#1 \\$alias of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:setAlias\\(\\) expects string, mixed given\\.$#', |
| 98 | + 'identifier' => 'argument.type', |
87 | 99 | 'count' => 1, |
88 | 100 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
89 | 101 | ]; |
90 | 102 | $ignoreErrors[] = [ |
91 | | - // identifier: argument.type |
92 | 103 | 'message' => '#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: Symfony\\\\Component\\\\DependencyInjection\\\\Reference given\\.$#', |
| 104 | + 'identifier' => 'argument.type', |
93 | 105 | 'count' => 1, |
94 | 106 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
95 | 107 | ]; |
96 | 108 | $ignoreErrors[] = [ |
97 | | - // identifier: argument.type |
98 | 109 | 'message' => '#^Parameter \\#1 \\$factoryServiceId of static method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\Compiler\\\\FactoryValidatorPass\\:\\:addFactoryServiceId\\(\\) expects non\\-empty\\-string, mixed given\\.$#', |
| 110 | + 'identifier' => 'argument.type', |
99 | 111 | 'count' => 1, |
100 | 112 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
101 | 113 | ]; |
102 | 114 | $ignoreErrors[] = [ |
103 | | - // identifier: argument.type |
104 | 115 | 'message' => '#^Parameter \\#1 \\$id of class Symfony\\\\Component\\\\DependencyInjection\\\\Reference constructor expects string, mixed given\\.$#', |
| 116 | + 'identifier' => 'argument.type', |
105 | 117 | 'count' => 1, |
106 | 118 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
107 | 119 | ]; |
108 | 120 | $ignoreErrors[] = [ |
109 | | - // identifier: argument.type |
110 | 121 | 'message' => '#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\DependencyInjection\\\\ContainerBuilder\\:\\:getDefinition\\(\\) expects string, mixed given\\.$#', |
| 122 | + 'identifier' => 'argument.type', |
111 | 123 | 'count' => 1, |
112 | 124 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
113 | 125 | ]; |
114 | 126 | $ignoreErrors[] = [ |
115 | | - // identifier: argument.type |
116 | 127 | 'message' => '#^Parameter \\#1 \\$object_or_class of function class_implements expects object\\|string, mixed given\\.$#', |
| 128 | + 'identifier' => 'argument.type', |
117 | 129 | 'count' => 1, |
118 | 130 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
119 | 131 | ]; |
120 | 132 | $ignoreErrors[] = [ |
121 | | - // identifier: argument.type |
122 | | - 'message' => '#^Parameter \\#1 \\$options of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:findReferences\\(\\) expects array\\<int\\|string, mixed\\>, mixed given\\.$#', |
| 133 | + 'message' => '#^Parameter \\#1 \\$options of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:findReferences\\(\\) expects array\\<mixed\\>, mixed given\\.$#', |
| 134 | + 'identifier' => 'argument.type', |
123 | 135 | 'count' => 2, |
124 | 136 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
125 | 137 | ]; |
126 | 138 | $ignoreErrors[] = [ |
127 | | - // identifier: argument.type |
128 | 139 | 'message' => '#^Parameter \\#1 \\$string of function ltrim expects string, mixed given\\.$#', |
| 140 | + 'identifier' => 'argument.type', |
129 | 141 | 'count' => 1, |
130 | 142 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
131 | 143 | ]; |
132 | 144 | $ignoreErrors[] = [ |
133 | | - // identifier: argument.type |
134 | 145 | 'message' => '#^Parameter \\#2 \\$array of function array_key_exists expects array, array\\|bool\\|float\\|int\\|string\\|UnitEnum\\|null given\\.$#', |
| 146 | + 'identifier' => 'argument.type', |
135 | 147 | 'count' => 1, |
136 | 148 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
137 | 149 | ]; |
138 | 150 | $ignoreErrors[] = [ |
139 | | - // identifier: argument.type |
140 | | - 'message' => '#^Parameter \\#2 \\$config of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:configureProviderPlugins\\(\\) expects array, mixed given\\.$#', |
| 151 | + 'message' => '#^Parameter \\#2 \\$config of method Bazinga\\\\GeocoderBundle\\\\DependencyInjection\\\\BazingaGeocoderExtension\\:\\:configureProviderPlugins\\(\\) expects array\\<mixed\\>, mixed given\\.$#', |
| 152 | + 'identifier' => 'argument.type', |
141 | 153 | 'count' => 1, |
142 | 154 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
143 | 155 | ]; |
144 | 156 | $ignoreErrors[] = [ |
145 | | - // identifier: argument.type |
146 | 157 | 'message' => '#^Parameter \\#2 \\.\\.\\.\\$values of function sprintf expects bool\\|float\\|int\\|string\\|null, mixed given\\.$#', |
| 158 | + 'identifier' => 'argument.type', |
147 | 159 | 'count' => 1, |
148 | 160 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
149 | 161 | ]; |
150 | 162 | $ignoreErrors[] = [ |
151 | | - // identifier: encapsedStringPart.nonString |
152 | 163 | 'message' => '#^Part \\$providerName \\(mixed\\) of encapsed string cannot be cast to string\\.$#', |
| 164 | + 'identifier' => 'encapsedStringPart.nonString', |
153 | 165 | 'count' => 1, |
154 | 166 | 'path' => __DIR__.'/src/DependencyInjection/BazingaGeocoderExtension.php', |
155 | 167 | ]; |
156 | 168 | $ignoreErrors[] = [ |
157 | | - // identifier: method.nonObject |
158 | 169 | 'message' => '#^Cannot call method getLatitude\\(\\) on Geocoder\\\\Model\\\\Coordinates\\|null\\.$#', |
| 170 | + 'identifier' => 'method.nonObject', |
159 | 171 | 'count' => 1, |
160 | 172 | 'path' => __DIR__.'/src/Doctrine/ORM/GeocodeEntityListener.php', |
161 | 173 | ]; |
162 | 174 | $ignoreErrors[] = [ |
163 | | - // identifier: method.nonObject |
164 | 175 | 'message' => '#^Cannot call method getLongitude\\(\\) on Geocoder\\\\Model\\\\Coordinates\\|null\\.$#', |
| 176 | + 'identifier' => 'method.nonObject', |
165 | 177 | 'count' => 1, |
166 | 178 | 'path' => __DIR__.'/src/Doctrine/ORM/GeocodeEntityListener.php', |
167 | 179 | ]; |
168 | 180 | $ignoreErrors[] = [ |
169 | | - // identifier: argument.missing |
170 | | - 'message' => '#^Missing parameter \\$provider \\(string\\) in call to Bazinga\\\\GeocoderBundle\\\\Mapping\\\\ClassMetadata constructor\\.$#', |
171 | | - 'count' => 1, |
172 | | - 'path' => __DIR__.'/src/Mapping/Driver/AttributeDriver.php', |
173 | | -]; |
174 | | -$ignoreErrors[] = [ |
175 | | - // identifier: argument.type |
176 | 181 | 'message' => '#^Parameter \\#1 \\$text of method Geocoder\\\\Query\\\\GeocodeQuery\\:\\:withText\\(\\) expects string, string\\|null given\\.$#', |
| 182 | + 'identifier' => 'argument.type', |
177 | 183 | 'count' => 1, |
178 | 184 | 'path' => __DIR__.'/src/Plugin/FakeIpPlugin.php', |
179 | 185 | ]; |
180 | 186 | $ignoreErrors[] = [ |
181 | | - // identifier: argument.type |
182 | | - 'message' => '#^Parameter \\#2 \\$replace of function str_replace expects array\\|string, string\\|null given\\.$#', |
183 | | - 'count' => 1, |
184 | | - 'path' => __DIR__.'/src/Plugin/FakeIpPlugin.php', |
185 | | -]; |
186 | | -$ignoreErrors[] = [ |
187 | | - // identifier: argument.type |
188 | 187 | 'message' => '#^Parameter \\#1 \\$accountId of class GeoIp2\\\\WebService\\\\Client constructor expects int, int\\|null given\\.$#', |
| 188 | + 'identifier' => 'argument.type', |
189 | 189 | 'count' => 1, |
190 | 190 | 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
191 | 191 | ]; |
192 | 192 | $ignoreErrors[] = [ |
193 | | - // identifier: argument.type |
194 | 193 | 'message' => '#^Parameter \\#1 \\$filename of class GeoIp2\\\\Database\\\\Reader constructor expects string, string\\|null given\\.$#', |
| 194 | + 'identifier' => 'argument.type', |
195 | 195 | 'count' => 1, |
196 | 196 | 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
197 | 197 | ]; |
198 | 198 | $ignoreErrors[] = [ |
199 | | - // identifier: argument.type |
200 | 199 | 'message' => '#^Parameter \\#1 \\$geoIpProvider of class Geocoder\\\\Provider\\\\GeoIP2\\\\GeoIP2Adapter constructor expects GeoIp2\\\\ProviderInterface, GeoIp2\\\\ProviderInterface\\|null given\\.$#', |
| 200 | + 'identifier' => 'argument.type', |
201 | 201 | 'count' => 1, |
202 | 202 | 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
203 | 203 | ]; |
204 | 204 | $ignoreErrors[] = [ |
205 | | - // identifier: argument.type |
206 | 205 | 'message' => '#^Parameter \\#2 \\$licenseKey of class GeoIp2\\\\WebService\\\\Client constructor expects string, string\\|null given\\.$#', |
| 206 | + 'identifier' => 'argument.type', |
207 | 207 | 'count' => 1, |
208 | 208 | 'path' => __DIR__.'/src/ProviderFactory/GeoIP2Factory.php', |
209 | 209 | ]; |
|
0 commit comments