{"action":"created","issue":{"url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/1","labels_url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/1/comments","events_url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/1/events","html_url":"https://github.com/SocialiteProviders/Reddit/pull/1","id":89155577,"number":1,"title":"Changed Provider to use form_params instead of deprecated body","user":{"login":"taion809","id":5170979,"avatar_url":"https://avatars.githubusercontent.com/u/5170979?v=3","gravatar_id":"","url":"https://api.github.com/users/taion809","html_url":"https://github.com/taion809","followers_url":"https://api.github.com/users/taion809/followers","following_url":"https://api.github.com/users/taion809/following{/other_user}","gists_url":"https://api.github.com/users/taion809/gists{/gist_id}","starred_url":"https://api.github.com/users/taion809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taion809/subscriptions","organizations_url":"https://api.github.com/users/taion809/orgs","repos_url":"https://api.github.com/users/taion809/repos","events_url":"https://api.github.com/users/taion809/events{/privacy}","received_events_url":"https://api.github.com/users/taion809/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-17T23:50:48Z","updated_at":"2015-06-18T14:39:12Z","closed_at":"2015-06-18T14:39:12Z","pull_request":{"url":"https://api.github.com/repos/SocialiteProviders/Reddit/pulls/1","html_url":"https://github.com/SocialiteProviders/Reddit/pull/1","diff_url":"https://github.com/SocialiteProviders/Reddit/pull/1.diff","patch_url":"https://github.com/SocialiteProviders/Reddit/pull/1.patch"},"body":"The usage of body in the request options array has been deprecated in favor of \"form_params\" or \"multipart\".\r\n\r\nExample error in laravel 5.1\r\n\r\n```\r\nInvalidArgumentException in Client.php line 380:\r\nPassing in the \"body\" request option as an array to send a POST request has been deprecated. Please use the \"form_params\" request option to send a application/x-www-form-urlencoded request, or a the \"multipart\" request option to send a multipart/form-data request.\r\nin Client.php line 380\r\nat Client->invalidBody() in Client.php line 118\r\nat Client->requestAsync('post', 'https://ssl.reddit.com/api/v1/access_token', array('headers' => array('Accept' => 'application/json'), 'auth' => array('id', 'secret'), 'body' => array('grant_type' => 'authorization_code', 'code' => 'code', 'redirect_uri' => 'http://localhost:5555/login'), 'synchronous' => true)) in Client.php line 130\r\nat Client->request('post', 'https://ssl.reddit.com/api/v1/access_token', array('headers' => array('Accept' => 'application/json'), 'auth' => array('id', 'secret'), 'body' => array('grant_type' => 'authorization_code', 'code' => 'code', 'redirect_uri' => 'http://localhost:5555/login'))) in Client.php line 88\r\nat Client->__call('post', array('https://ssl.reddit.com/api/v1/access_token', array('headers' => array('Accept' => 'application/json'), 'auth' => array('id', 'secret'), 'body' => array('grant_type' => 'authorization_code', 'code' => 'code', 'redirect_uri' => 'http://localhost:5555/login')))) in Provider.php line 68\r\nat Client->post('https://ssl.reddit.com/api/v1/access_token', array('headers' => array('Accept' => 'application/json'), 'auth' => array('id', 'secret'), 'body' => array('grant_type' => 'authorization_code', 'code' => 'code', 'redirect_uri' => 'http://localhost:5555/login'))) in Provider.php line 68\r\nat Provider->getAccessToken('code') in AbstractProvider.php line 180\r\n```"},"comment":{"url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/comments/113176948","html_url":"https://github.com/SocialiteProviders/Reddit/pull/1#issuecomment-113176948","issue_url":"https://api.github.com/repos/SocialiteProviders/Reddit/issues/1","id":113176948,"user":{"login":"DraperStudio","id":9945265,"avatar_url":"https://avatars.githubusercontent.com/u/9945265?v=3","gravatar_id":"","url":"https://api.github.com/users/DraperStudio","html_url":"https://github.com/DraperStudio","followers_url":"https://api.github.com/users/DraperStudio/followers","following_url":"https://api.github.com/users/DraperStudio/following{/other_user}","gists_url":"https://api.github.com/users/DraperStudio/gists{/gist_id}","starred_url":"https://api.github.com/users/DraperStudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DraperStudio/subscriptions","organizations_url":"https://api.github.com/users/DraperStudio/orgs","repos_url":"https://api.github.com/users/DraperStudio/repos","events_url":"https://api.github.com/users/DraperStudio/events{/privacy}","received_events_url":"https://api.github.com/users/DraperStudio/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T14:39:12Z","updated_at":"2015-06-18T14:39:12Z","body":"I've tagged v1.1.0 for all Providers which will require PHP 5.5 and the Manager 1.0 which will require Guzzle 6 from now on."}}