respect-validation/library
Henrique Moody 5a067faec7
Update "PostalCode" list
Updated the whole list according to the last version found on
geonames.org.

The script that I executed to generate the list is:

curl -L http://download.geonames.org/export/dump/countryInfo.txt |
  sed 's,\t,\;,g' |
  sort -u |
  cut -d ';' -f 1,15 |
  sed -E "/^#/d; /^[A-Z]{2}\;$/d; s,([A-Z]{2})\;(.+),'\1' => '/\2/'\,,g"

After generating the list I few changes had to be made since some of the
postal codes in the list were manually updated because they were not
correct.

This change was made because James Macon reported that "110231" was
not recognized as a valid Colombian postal code.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-29 22:30:50 +02:00
..
Exceptions Fix grammatical errors in URL exception message 2018-07-02 08:22:41 +02:00
Rules Update "PostalCode" list 2018-08-29 22:30:50 +02:00
Factory.php Ensure namespace separator on appended prefixes 2016-04-23 21:20:54 -03:00
Validatable.php Use short array syntax 2015-10-17 22:56:32 -03:00
Validator.php Update type parameters for Validator doc blocks 2018-05-19 16:26:44 +02:00