--CREDITS-- Paul Karikari --SKIPIF-- --FILE-- check('filename'); } catch (UploadedException $exception) { echo $exception->getMessage().PHP_EOL; } uopz_set_return('is_uploaded_file', true); try { v::not(v::uploaded())->check('filename'); } catch (UploadedException $exception) { echo $exception->getMessage().PHP_EOL; } uopz_set_return('is_uploaded_file', false); try { v::uploaded()->assert('filename'); } catch (NestedValidationException $exception) { echo $exception->getFullMessage().PHP_EOL; } uopz_set_return('is_uploaded_file', true); try { v::not(v::uploaded())->assert('filename'); } catch (NestedValidationException $exception) { echo $exception->getFullMessage().PHP_EOL; } ?> --EXPECT-- "filename" must be an uploaded file "filename" must not be an uploaded file - "filename" must be an uploaded file - "filename" must not be an uploaded file