--CREDITS-- Danilo Correa --FILE-- check('a'); } catch (NumericValException $exception) { echo $exception->getMessage().PHP_EOL; } try { v::not(v::numericVal())->check('1'); } catch (NumericValException $exception) { echo $exception->getMessage().PHP_EOL; } try { v::numericVal()->assert('a'); } catch (NestedValidationException $exception) { echo $exception->getFullMessage().PHP_EOL; } try { v::not(v::numericVal())->assert('1'); } catch (NestedValidationException $exception) { echo $exception->getFullMessage().PHP_EOL; } ?> --EXPECT-- "a" must be numeric "1" must not be numeric - "a" must be numeric - "1" must not be numeric