respect-validation/tests/unit
Bogus b7b67da31e
Update validation for Israeli postal codes
According to Wikipedia [1]:

> Until February 2013, Israel postal codes were 5-digit. Officially the
> 5-digit codes remained valid until 31 January 2013, though they
> continue to be widely used.

This commit changes the "PostalCode" rule to allow either 5 or 7 digits.

[1]: https://en.wikipedia.org/wiki/List_of_postal_codes

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2020-05-18 21:46:57 +02:00
..
Exceptions Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
Helpers Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
Rules Update validation for Israeli postal codes 2020-05-18 21:46:57 +02:00
FactoryTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
ValidatorTest.php Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00