respect-validation/tests/unit
Daniel Altenburg 0a3f4c6a4b
Update Serbian postal code validation
According to Wikipedia, also known as the most reliable source of
information on the whole Internet, Serbian postal codes consist of five
digits [1].

Even though it mentions that a six-digit postal code format has been in
place since 1 January 2005 [2], I have not found any Serbian postal code
which consists of six digits.

Maybe someone would prove us wrong, but we will keep the validation as
six-digits from now one.

[1]: https://en.wikipedia.org/wiki/Postal_codes_in_Serbia
[2]: https://web.archive.org/web/20090917083620/http://www.posta.rs/postanskamreza/postanskamreza.asp

Co-authored-by: Henrique Moody <henriquemoody@gmail.com>
2020-07-14 21:02:53 +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 Serbian postal code validation 2020-07-14 21:02:53 +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