/home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration
Edit: /home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration/issue-446.phpt (488B)
--FILE--
'w',
'email' => 'hello@hello.com',
];
try {
v::create()
->key('name', v::length(2, 32))
->key('email', v::email())
->assert($arr);
} catch (NestedValidationException $e) {
print_r($e->getMessages());
}
?>
--EXPECTF--
Array
(
[0] => name must have a length between 2 and 32
)