/home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration
Edit: /home/techb158/exp.abdallabala.com/vendor/respect/validation/tests/integration/issue-799.phpt (1071B)
--FILE--
call(
[new MyClass(), 'parse'],
v::arrayVal()->key('scheme', v::startsWith('https'))
)
->assert($input);
} catch (AllOfException $exception) {
echo $exception->getMainMessage().PHP_EOL;
}
try {
v::create()
->call(
function($url) {
return parse_url($url);
},
v::arrayVal()->key('scheme', v::startsWith('https'))
)
->assert($input);
} catch (AllOfException $exception) {
echo $exception->getMainMessage().PHP_EOL;
}
?>
--EXPECTF--
All of the required rules must pass for "http://www.google.com/search?q=respect.github.com"
All of the required rules must pass for "http://www.google.com/search?q=respect.github.com"