respect-validation/tests
Henrique Moody 8fd18d9b72
Fix wrong behavior in the "Contains" rule
While making sure that Validation uses PHP strict types [1] the compared
value in the "Contains" rule was cast to string. That is problematic
when someone wants to enforce the operation to compare if the input has
a value identical to the expected value.

This commit will fix that by not casting the expected value but also
make sure that string comparison will not be used when it's not a
string.

[1]: ef975629f3

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
2018-12-13 00:09:41 +01:00
..
fixtures Update PHP support 2018-12-02 11:09:24 +01:00
integration Apply contribution guidelines to "Ip" rule 2018-12-07 19:43:57 +01:00
library Merge branch '1.1' 2018-12-05 08:57:05 +01:00
unit Fix wrong behavior in the "Contains" rule 2018-12-13 00:09:41 +01:00