@@ -92,34 +92,54 @@ public function getCanadaValidPostCodes()
92
92
public function getPostcodesDataProvider ()
93
93
{
94
94
return [
95
+ ['countryId ' => 'AD ' , 'postcode ' => 'AD100 ' ],
95
96
['countryId ' => 'AM ' , 'postcode ' => '123456 ' ],
96
97
['countryId ' => 'AR ' , 'postcode ' => '1234 ' ],
97
98
['countryId ' => 'AS ' , 'postcode ' => '12345 ' ],
98
99
['countryId ' => 'AT ' , 'postcode ' => '1234 ' ],
99
100
['countryId ' => 'AU ' , 'postcode ' => '1234 ' ],
101
+ ['countryId ' => 'AX ' , 'postcode ' => '22101 ' ],
100
102
['countryId ' => 'AZ ' , 'postcode ' => '1234 ' ],
101
103
['countryId ' => 'AZ ' , 'postcode ' => '123456 ' ],
102
104
['countryId ' => 'BA ' , 'postcode ' => '12345 ' ],
105
+ ['countryId ' => 'BB ' , 'postcode ' => 'BB10900 ' ],
103
106
['countryId ' => 'BD ' , 'postcode ' => '1234 ' ],
104
107
['countryId ' => 'BE ' , 'postcode ' => '1234 ' ],
105
108
['countryId ' => 'BG ' , 'postcode ' => '1234 ' ],
109
+ ['countryId ' => 'BH ' , 'postcode ' => '10200 ' ],
110
+ ['countryId ' => 'BM ' , 'postcode ' => 'AB A012 ' ],
106
111
['countryId ' => 'BN ' , 'postcode ' => 'PS1234 ' ],
107
112
['countryId ' => 'BR ' , 'postcode ' => '12345678 ' ],
108
113
['countryId ' => 'BR ' , 'postcode ' => '12345-678 ' ],
109
114
['countryId ' => 'BY ' , 'postcode ' => '123456 ' ],
110
115
['countryId ' => 'CA ' , 'postcode ' => 'P9M 3T6 ' ],
116
+ ['countryId ' => 'CC ' , 'postcode ' => '6799 ' ],
111
117
['countryId ' => 'CH ' , 'postcode ' => '1234 ' ],
118
+ ['countryId ' => 'CK ' , 'postcode ' => '1234 ' ],
119
+ ['countryId ' => 'CL ' , 'postcode ' => '1234567 ' ],
112
120
['countryId ' => 'CN ' , 'postcode ' => '123456 ' ],
121
+ ['countryId ' => 'CR ' , 'postcode ' => '12345 ' ],
113
122
['countryId ' => 'CS ' , 'postcode ' => '12345 ' ],
114
123
['countryId ' => 'CU ' , 'postcode ' => '12345 ' ],
124
+ ['countryId ' => 'CV ' , 'postcode ' => '1234 ' ],
125
+ ['countryId ' => 'CX ' , 'postcode ' => '6798 ' ],
115
126
['countryId ' => 'CY ' , 'postcode ' => '1234 ' ],
116
127
['countryId ' => 'CZ ' , 'postcode ' => '123 45 ' ],
117
128
['countryId ' => 'DE ' , 'postcode ' => '12345 ' ],
118
129
['countryId ' => 'DK ' , 'postcode ' => '1234 ' ],
130
+ ['countryId ' => 'DO ' , 'postcode ' => '12345 ' ],
119
131
['countryId ' => 'DZ ' , 'postcode ' => '12345 ' ],
132
+ ['countryId ' => 'EC ' , 'postcode ' => 'A1234B ' ],
133
+ ['countryId ' => 'EC ' , 'postcode ' => 'AB123456 ' ],
134
+ ['countryId ' => 'EC ' , 'postcode ' => '123456 ' ],
120
135
['countryId ' => 'EE ' , 'postcode ' => '12345 ' ],
136
+ ['countryId ' => 'EG ' , 'postcode ' => '12345 ' ],
121
137
['countryId ' => 'ES ' , 'postcode ' => '12345 ' ],
138
+ ['countryId ' => 'ET ' , 'postcode ' => '1234 ' ],
122
139
['countryId ' => 'FI ' , 'postcode ' => '12345 ' ],
140
+ ['countryId ' => 'FK ' , 'postcode ' => 'FIQQ 1ZZ ' ],
141
+ ['countryId ' => 'FM ' , 'postcode ' => '96941 ' ],
142
+ ['countryId ' => 'FO ' , 'postcode ' => '123 ' ],
123
143
['countryId ' => 'FR ' , 'postcode ' => '12345 ' ],
124
144
['countryId ' => 'GB ' , 'postcode ' => 'PL12 3RT ' ],
125
145
['countryId ' => 'GB ' , 'postcode ' => 'P1L 2RT ' ],
@@ -131,73 +151,123 @@ public function getPostcodesDataProvider()
131
151
['countryId ' => 'GF ' , 'postcode ' => '12345 ' ],
132
152
['countryId ' => 'GG ' , 'postcode ' => 'PL5 7TH ' ],
133
153
['countryId ' => 'GL ' , 'postcode ' => '1234 ' ],
154
+ ['countryId ' => 'GH ' , 'postcode ' => 'AB1 2CD ' ],
155
+ ['countryId ' => 'GN ' , 'postcode ' => '123 ' ],
134
156
['countryId ' => 'GP ' , 'postcode ' => '12345 ' ],
135
157
['countryId ' => 'GR ' , 'postcode ' => '123 45 ' ],
158
+ ['countryId ' => 'GS ' , 'postcode ' => 'SIQQ 1ZZ ' ],
159
+ ['countryId ' => 'GT ' , 'postcode ' => '12345 ' ],
136
160
['countryId ' => 'GU ' , 'postcode ' => '12345 ' ],
161
+ ['countryId ' => 'GW ' , 'postcode ' => '1234 ' ],
162
+ ['countryId ' => 'HM ' , 'postcode ' => '1234 ' ],
163
+ ['countryId ' => 'HN ' , 'postcode ' => '12345 ' ],
137
164
['countryId ' => 'HR ' , 'postcode ' => '12345 ' ],
165
+ ['countryId ' => 'HT ' , 'postcode ' => '1234 ' ],
138
166
['countryId ' => 'HU ' , 'postcode ' => '1234 ' ],
139
167
['countryId ' => 'IC ' , 'postcode ' => '12345 ' ],
140
168
['countryId ' => 'ID ' , 'postcode ' => '12345 ' ],
141
169
['countryId ' => 'IL ' , 'postcode ' => '1234567 ' ],
170
+ ['countryId ' => 'IM ' , 'postcode ' => 'IM1 1AD ' ],
142
171
['countryId ' => 'IN ' , 'postcode ' => '123456 ' ],
143
172
['countryId ' => 'IS ' , 'postcode ' => '123 ' ],
144
173
['countryId ' => 'IT ' , 'postcode ' => '12345 ' ],
145
174
['countryId ' => 'JE ' , 'postcode ' => 'TY8 9PL ' ],
175
+ ['countryId ' => 'JO ' , 'postcode ' => '12345 ' ],
146
176
['countryId ' => 'JP ' , 'postcode ' => '123-4567 ' ],
147
177
['countryId ' => 'JP ' , 'postcode ' => '1234567 ' ],
148
178
['countryId ' => 'KE ' , 'postcode ' => '12345 ' ],
149
179
['countryId ' => 'KG ' , 'postcode ' => '123456 ' ],
180
+ ['countryId ' => 'KH ' , 'postcode ' => '12345 ' ],
150
181
['countryId ' => 'KR ' , 'postcode ' => '123-456 ' ],
182
+ ['countryId ' => 'KW ' , 'postcode ' => '12345 ' ],
151
183
['countryId ' => 'KZ ' , 'postcode ' => '123456 ' ],
184
+ ['countryId ' => 'LA ' , 'postcode ' => '12345 ' ],
185
+ ['countryId ' => 'LB ' , 'postcode ' => '1234 5678 ' ],
152
186
['countryId ' => 'LI ' , 'postcode ' => '1234 ' ],
187
+ ['countryId ' => 'LK ' , 'postcode ' => '12345 ' ],
153
188
['countryId ' => 'LT ' , 'postcode ' => '12345 ' ],
154
189
['countryId ' => 'LU ' , 'postcode ' => '1234 ' ],
155
190
['countryId ' => 'LV ' , 'postcode ' => '1234 ' ],
156
191
['countryId ' => 'MA ' , 'postcode ' => '12345 ' ],
157
192
['countryId ' => 'MC ' , 'postcode ' => '12345 ' ],
193
+ ['countryId ' => 'ME ' , 'postcode ' => '81101 ' ],
158
194
['countryId ' => 'MD ' , 'postcode ' => '1234 ' ],
159
195
['countryId ' => 'MG ' , 'postcode ' => '123 ' ],
160
196
['countryId ' => 'MH ' , 'postcode ' => '12345 ' ],
161
197
['countryId ' => 'MK ' , 'postcode ' => '1234 ' ],
162
198
['countryId ' => 'MN ' , 'postcode ' => '123456 ' ],
163
199
['countryId ' => 'MP ' , 'postcode ' => '12345 ' ],
164
200
['countryId ' => 'MQ ' , 'postcode ' => '12345 ' ],
201
+ ['countryId ' => 'MS ' , 'postcode ' => 'MSR1250 ' ],
165
202
['countryId ' => 'MT ' , 'postcode ' => 'WRT 123 ' ],
166
203
['countryId ' => 'MT ' , 'postcode ' => 'WRT 45 ' ],
204
+ ['countryId ' => 'MU ' , 'postcode ' => 'A1201 ' ],
205
+ ['countryId ' => 'MU ' , 'postcode ' => '80110 ' ],
167
206
['countryId ' => 'MV ' , 'postcode ' => '12345 ' ],
168
207
['countryId ' => 'MV ' , 'postcode ' => '1234 ' ],
169
208
['countryId ' => 'MX ' , 'postcode ' => '12345 ' ],
170
209
['countryId ' => 'MY ' , 'postcode ' => '12345 ' ],
210
+ ['countryId ' => 'NC ' , 'postcode ' => '98800 ' ],
211
+ ['countryId ' => 'NE ' , 'postcode ' => '1234 ' ],
212
+ ['countryId ' => 'NF ' , 'postcode ' => '2899 ' ],
213
+ ['countryId ' => 'NG ' , 'postcode ' => '123456 ' ],
214
+ ['countryId ' => 'NI ' , 'postcode ' => '22500 ' ],
171
215
['countryId ' => 'NL ' , 'postcode ' => '1234 TR ' ],
172
216
['countryId ' => 'NO ' , 'postcode ' => '1234 ' ],
217
+ ['countryId ' => 'NP ' , 'postcode ' => '12345 ' ],
218
+ ['countryId ' => 'NZ ' , 'postcode ' => '1234 ' ],
219
+ ['countryId ' => 'OM ' , 'postcode ' => 'PC 123 ' ],
220
+ ['countryId ' => 'PA ' , 'postcode ' => '1234 ' ],
221
+ ['countryId ' => 'PF ' , 'postcode ' => '98701 ' ],
222
+ ['countryId ' => 'PG ' , 'postcode ' => '123 ' ],
173
223
['countryId ' => 'PH ' , 'postcode ' => '1234 ' ],
174
224
['countryId ' => 'PK ' , 'postcode ' => '12345 ' ],
175
225
['countryId ' => 'PL ' , 'postcode ' => '12-345 ' ],
226
+ ['countryId ' => 'PM ' , 'postcode ' => '97500 ' ],
227
+ ['countryId ' => 'PN ' , 'postcode ' => 'PCRN 1ZZ ' ],
176
228
['countryId ' => 'PR ' , 'postcode ' => '12345 ' ],
177
229
['countryId ' => 'PT ' , 'postcode ' => '1234 ' ],
178
230
['countryId ' => 'PT ' , 'postcode ' => '1234-567 ' ],
231
+ ['countryId ' => 'PW ' , 'postcode ' => '96939 ' ],
232
+ ['countryId ' => 'PW ' , 'postcode ' => '96940 ' ],
233
+ ['countryId ' => 'PY ' , 'postcode ' => '1234 ' ],
179
234
['countryId ' => 'RE ' , 'postcode ' => '12345 ' ],
180
235
['countryId ' => 'RO ' , 'postcode ' => '123456 ' ],
181
236
['countryId ' => 'RU ' , 'postcode ' => '123456 ' ],
237
+ ['countryId ' => 'SA ' , 'postcode ' => '12345 ' ],
182
238
['countryId ' => 'SE ' , 'postcode ' => '123 45 ' ],
183
239
['countryId ' => 'SG ' , 'postcode ' => '123456 ' ],
240
+ ['countryId ' => 'SH ' , 'postcode ' => 'ASCN 1ZZ ' ],
184
241
['countryId ' => 'SI ' , 'postcode ' => '1234 ' ],
242
+ ['countryId ' => 'SJ ' , 'postcode ' => '1234 ' ],
185
243
['countryId ' => 'SK ' , 'postcode ' => '123 45 ' ],
244
+ ['countryId ' => 'SM ' , 'postcode ' => '47890 ' ],
245
+ ['countryId ' => 'SN ' , 'postcode ' => '12345 ' ],
246
+ ['countryId ' => 'SO ' , 'postcode ' => '12345 ' ],
186
247
['countryId ' => 'SZ ' , 'postcode ' => 'R123 ' ],
248
+ ['countryId ' => 'TC ' , 'postcode ' => 'TKCA 1ZZ ' ],
187
249
['countryId ' => 'TH ' , 'postcode ' => '12345 ' ],
188
250
['countryId ' => 'TJ ' , 'postcode ' => '123456 ' ],
189
251
['countryId ' => 'TM ' , 'postcode ' => '123456 ' ],
252
+ ['countryId ' => 'TN ' , 'postcode ' => '1234 ' ],
190
253
['countryId ' => 'TR ' , 'postcode ' => '12345 ' ],
254
+ ['countryId ' => 'TT ' , 'postcode ' => '12345 ' ],
191
255
['countryId ' => 'TW ' , 'postcode ' => '123 ' ],
192
256
['countryId ' => 'TW ' , 'postcode ' => '12345 ' ],
193
- ['countryId ' => 'UA ' , 'postcode ' => '12345 ' ],
257
+ ['countryId ' => 'UA ' , 'postcode ' => '02232 ' ],
194
258
['countryId ' => 'US ' , 'postcode ' => '12345-6789 ' ],
195
259
['countryId ' => 'US ' , 'postcode ' => '12345 ' ],
196
260
['countryId ' => 'UY ' , 'postcode ' => '12345 ' ],
197
261
['countryId ' => 'UZ ' , 'postcode ' => '123456 ' ],
262
+ ['countryId ' => 'VA ' , 'postcode ' => '00120 ' ],
263
+ ['countryId ' => 'VE ' , 'postcode ' => '1234 ' ],
198
264
['countryId ' => 'VI ' , 'postcode ' => '12345 ' ],
265
+ ['countryId ' => 'WF ' , 'postcode ' => '98601 ' ],
266
+ ['countryId ' => 'XK ' , 'postcode ' => '12345 ' ],
199
267
['countryId ' => 'XY ' , 'postcode ' => '12345 ' ],
268
+ ['countryId ' => 'YT ' , 'postcode ' => '97601 ' ],
200
269
['countryId ' => 'ZA ' , 'postcode ' => '1234 ' ],
270
+ ['countryId ' => 'ZM ' , 'postcode ' => '12345 ' ],
201
271
];
202
272
}
203
273
}
0 commit comments