{"action":"created","issue":{"url":"https://api.github.com/repos/rakit/validation/issues/11","repository_url":"https://api.github.com/repos/rakit/validation","labels_url":"https://api.github.com/repos/rakit/validation/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/rakit/validation/issues/11/comments","events_url":"https://api.github.com/repos/rakit/validation/issues/11/events","html_url":"https://github.com/rakit/validation/issues/11","id":195704731,"number":11,"title":"Questions about the uploaded file rule","user":{"login":"adelowo","id":12677701,"avatar_url":"https://avatars.githubusercontent.com/u/12677701?v=3","gravatar_id":"","url":"https://api.github.com/users/adelowo","html_url":"https://github.com/adelowo","followers_url":"https://api.github.com/users/adelowo/followers","following_url":"https://api.github.com/users/adelowo/following{/other_user}","gists_url":"https://api.github.com/users/adelowo/gists{/gist_id}","starred_url":"https://api.github.com/users/adelowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelowo/subscriptions","organizations_url":"https://api.github.com/users/adelowo/orgs","repos_url":"https://api.github.com/users/adelowo/repos","events_url":"https://api.github.com/users/adelowo/events{/privacy}","received_events_url":"https://api.github.com/users/adelowo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-15T02:56:37Z","updated_at":"2016-12-16T13:18:26Z","closed_at":null,"body":"Hi @emsifa , \r\n\r\n- Why are you checking if a file is valid by just the array keys ? https://github.com/rakit/validation/blob/master/src/Rules/UploadedFile.php#L105-#L114 . You could resort to [`is_uploaded_file`](http://php.net/manual/en/function.is-uploaded-file.php). This seems very much safer than the current implementation available.\r\n\r\nPlus there seem to be a bug here 😀 https://github.com/rakit/validation/blob/master/src/Validator.php#L26-#L28"},"comment":{"url":"https://api.github.com/repos/rakit/validation/issues/comments/267592197","html_url":"https://github.com/rakit/validation/issues/11#issuecomment-267592197","issue_url":"https://api.github.com/repos/rakit/validation/issues/11","id":267592197,"user":{"login":"adelowo","id":12677701,"avatar_url":"https://avatars.githubusercontent.com/u/12677701?v=3","gravatar_id":"","url":"https://api.github.com/users/adelowo","html_url":"https://github.com/adelowo","followers_url":"https://api.github.com/users/adelowo/followers","following_url":"https://api.github.com/users/adelowo/following{/other_user}","gists_url":"https://api.github.com/users/adelowo/gists{/gist_id}","starred_url":"https://api.github.com/users/adelowo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelowo/subscriptions","organizations_url":"https://api.github.com/users/adelowo/orgs","repos_url":"https://api.github.com/users/adelowo/repos","events_url":"https://api.github.com/users/adelowo/events{/privacy}","received_events_url":"https://api.github.com/users/adelowo/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T13:18:26Z","updated_at":"2016-12-16T13:18:26Z","body":"But that might take some time as I'd be quite busy for some time... "}}
{"actor":{"display_login":"adelowo"}}