Closed sagikazarmark closed 10 years ago
Looks good except I would remove the tests for setting/getting custom messages. The tests need a little cleaning up as they overlap between the rules themselves and the abstract rule class.
Could you also please update the README to include your new rule? Other than that I would be happy to merge this in.
I added a type rule which can test a value against primitives and objects. Since the v2 Validation is not only about validating post values, I think it can be included.