Go to file
Henrique Moody 8b2819e9f8
Auto-resolve exception namespaces
After the refactoring on the Factory class [1], to throw exceptions of a
specific rule, it is necessary to add the exception namespace of that
rule. That change makes sense when someone wants to create rules from
the Validator class, but when using rules as classes, it's not as handy.

This commit will auto-resolve exception based on the rule namespace,
just as it used to be.

[1]: 1f217dda66

Co-authored-by: Casey McLaughlin <caseyamcl@gmail.com>
Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2020-10-04 11:26:20 +02:00
.github/workflows Add support for PHP 8.0 2020-08-28 08:53:41 +02:00
bin Configure GitHub workflow to update top-level domains 2020-05-26 19:19:25 +02:00
data/iso_3166-2 Remove subdivision code rules per country 2019-04-06 23:05:24 +02:00
docs Drop support for PHP 7.2 2020-08-26 09:47:48 +02:00
library Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00
tests Auto-resolve exception namespaces 2020-10-04 11:26:20 +02:00
.docheader Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
.gitattributes Update list of files to be exported by Git 2020-07-29 10:35:36 +02:00
.gitignore Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
CHANGELOG.md Remove documentation links in the repository 2019-05-23 16:16:00 +02:00
composer.json Add support for PHP 8.0 2020-08-28 08:53:41 +02:00
CONTRIBUTING.md Update contribution guidelines 2019-05-23 16:35:41 +02:00
LICENSE Turn LICENSE file into plain/text 2019-05-23 16:21:34 +02:00
mkdocs.yml Create MkDocs configuration file 2018-12-11 09:25:41 +01:00
phpcs.xml.dist Use "Respect" coding standard 2019-05-11 20:51:39 +02:00
phpstan.neon.dist Update version of PHPStan packages 2020-07-25 22:50:59 +02:00
phpunit.xml.dist Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00
README.md Configure continuous integration with GitHub actions 2020-08-27 19:06:37 +02:00