{"action":"opened","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/13466","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/13466/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/13466/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/13466/events","html_url":"https://github.com/laravel/framework/issues/13466","id":153493208,"number":13466,"title":"The given data failed to pass validation","user":{"login":"andrey-helldar","id":10347617,"avatar_url":"https://avatars.githubusercontent.com/u/10347617?v=3","gravatar_id":"","url":"https://api.github.com/users/andrey-helldar","html_url":"https://github.com/andrey-helldar","followers_url":"https://api.github.com/users/andrey-helldar/followers","following_url":"https://api.github.com/users/andrey-helldar/following{/other_user}","gists_url":"https://api.github.com/users/andrey-helldar/gists{/gist_id}","starred_url":"https://api.github.com/users/andrey-helldar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrey-helldar/subscriptions","organizations_url":"https://api.github.com/users/andrey-helldar/orgs","repos_url":"https://api.github.com/users/andrey-helldar/repos","events_url":"https://api.github.com/users/andrey-helldar/events{/privacy}","received_events_url":"https://api.github.com/users/andrey-helldar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-06T16:54:00Z","updated_at":"2016-05-06T16:54:00Z","closed_at":null,"body":"I run the command `php artisan make:auth`.\r\n\r\nIf you attempt to register a user, I have specially made mistakes in the entry form and get the following message:\r\n\r\n> Illuminate \\ Foundation \\ Validation \\ ValidationException\r\n> The given data failed to pass validation.\r\n\r\n> \\vendor\\laravel\\framework\\src\\Illuminate\\Foundation\\Validation\\ValidatesRequests.php\r\n> Line 88: `throw new ValidationException($validator, $this->buildFailedValidationResponse(`\r\n\r\n`     *\r\n     * @param  \\Illuminate\\Http\\Request  $request\r\n     * @param  \\Illuminate\\Contracts\\Validation\\Validator  $validator\r\n     * @return void\r\n     *\r\n     * @throws \\Illuminate\\Foundation\\Validation\\ValidationException\r\n     */\r\n    protected function throwValidationException(Request $request, $validator)\r\n    {\r\n        throw new ValidationException($validator, $this->buildFailedValidationResponse(\r\n            $request, $this->formatValidationErrors($validator)\r\n        ));\r\n    }\r\n \r\n    /**\r\n     * Create the response for when a request fails validation.\r\n     *\r\n     * @param  \\Illuminate\\Http\\Request  $request\r\n     * @param  array  $errors\r\n     * @return \\Illuminate\\Http\\Response`"}}