respect-validation/library
William Espindola a79e702173
Apply contribution guidelines to "CountryCode" rule
The "AbstractSearcher" already does most of the job that "CountryCode"
was doing, so using it as parent class made more sense. That also makes
the validation case-sensitive which is not a problem since the standard
ISO 3166-1 in fact enforces an specific case for the country codes.

The documentation about the rule is also updated.

Co-Authored-By: Henrique Moody <henriquemoody@gmail.com>
2018-06-15 18:49:52 +02:00
..
Exceptions Apply contribution guidelines to "CountryCode" rule 2018-06-15 18:49:52 +02:00
Helpers Apply contribution guidelines to "IterableType" rule 2018-06-01 14:23:41 +02:00
Rules Apply contribution guidelines to "CountryCode" rule 2018-06-15 18:49:52 +02:00
Factory.php Refactor ValidationException 2018-05-27 16:12:05 +02:00
Validatable.php Add type hinting and return type to "setTemplate" 2018-06-01 10:46:51 +02:00
Validator.php Apply contribution guidelines to "CountryCode" rule 2018-06-15 18:49:52 +02:00