{"action":"created","issue":{"url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/179","repository_url":"https://api.github.com/repos/kriswallsmith/Buzz","labels_url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/179/labels{/name}","comments_url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/179/comments","events_url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/179/events","html_url":"https://github.com/kriswallsmith/Buzz/pull/179","id":51160601,"number":179,"title":"Check if native PHP function curl_init is available before use it","user":{"login":"moacirosa","id":166778,"avatar_url":"https://avatars3.githubusercontent.com/u/166778?v=4","gravatar_id":"","url":"https://api.github.com/users/moacirosa","html_url":"https://github.com/moacirosa","followers_url":"https://api.github.com/users/moacirosa/followers","following_url":"https://api.github.com/users/moacirosa/following{/other_user}","gists_url":"https://api.github.com/users/moacirosa/gists{/gist_id}","starred_url":"https://api.github.com/users/moacirosa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moacirosa/subscriptions","organizations_url":"https://api.github.com/users/moacirosa/orgs","repos_url":"https://api.github.com/users/moacirosa/repos","events_url":"https://api.github.com/users/moacirosa/events{/privacy}","received_events_url":"https://api.github.com/users/moacirosa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2014-12-05T23:56:22Z","updated_at":"2018-03-17T20:47:12Z","closed_at":"2018-03-17T20:47:12Z","author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kriswallsmith/Buzz/pulls/179","html_url":"https://github.com/kriswallsmith/Buzz/pull/179","diff_url":"https://github.com/kriswallsmith/Buzz/pull/179.diff","patch_url":"https://github.com/kriswallsmith/Buzz/pull/179.patch"},"body":"Hello Guys,\n\nI was making some experiments with HipChat API through [this client](https://github.com/gorkalaucirica/HipchatAPIv2Client). This client has Buzz as dependency and it was not clear for me in a first moment that `curl_init` (native function) was missing (yes... just apt-get install php5-curl).\n\nSo this is a really small PR that might thrown a friedly exception. Considering that I've found `curl_init` in other parts of the code I've added `lib-curl` as required lib in `composer.json`.\n\nSince it's an abstract class, static and protected method it becomes a bit hard for testing. However I've created a test class and put some small tests.\n\nI don't know if these changes make sense just in some way, but here is my small purpose.\n\nCheers\n"},"comment":{"url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/comments/373951411","html_url":"https://github.com/kriswallsmith/Buzz/pull/179#issuecomment-373951411","issue_url":"https://api.github.com/repos/kriswallsmith/Buzz/issues/179","id":373951411,"user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars2.githubusercontent.com/u/1275206?v=4","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"created_at":"2018-03-17T20:47:12Z","updated_at":"2018-03-17T20:47:12Z","author_association":"COLLABORATOR","body":"This is fixed in master. "}}
{"actor":{"display_login":"Nyholm"}}