respect-validation/tests
Henrique Moody 2fac861aa1
Do not trigger PHP errors in the "Call" rule
This commit make sure that when the callable is executed by the "Call"
rule and PHP triggers an error, the user does not have to deal with it,
and instead the rule will throw "CallException".

Because of the many changes that were made, it didn't make sense to keep
the class "Call" extending the "AbstractRelated" class.

One thing that is a bit problematic with this rule - and with other
rules as well - is that Validation only knows details of a validation
when it fails, because of that we cannot invert the validations that
passed, meaning that the "Not" rule cannot give the proper response to
a validation that passed. This is a know issue that can only be fixed
is we provide a way for Validation do have more granularity control.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-08-21 01:22:38 +02:00
..
fixtures Apply contribution guidelines to "Executable" rule 2018-06-20 22:34:21 +02:00
integration Do not trigger PHP errors in the "Call" rule 2018-08-21 01:22:38 +02:00
library Add some code standards for PHPUnit tests 2018-07-23 20:46:18 +02:00
unit Do not trigger PHP errors in the "Call" rule 2018-08-21 01:22:38 +02:00