mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
This has been achieved by making sure that the rule is neither
a "native" Validator rule (e.g. there is a validate{$CamleCaseName}
method) nor it has been registered.
If both conditions are met, the rule (even if it is a string)
will be accepted and used.
Tests for this case have also been added.