{"action":"created","issue":{"url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/8","labels_url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/8/comments","events_url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/8/events","html_url":"https://github.com/Adyg/php-imgur-api-client/pull/8","id":104463446,"number":8,"title":"WIP – Adding some tests","user":{"login":"j0k3r","id":62333,"avatar_url":"https://avatars.githubusercontent.com/u/62333?v=3","gravatar_id":"","url":"https://api.github.com/users/j0k3r","html_url":"https://github.com/j0k3r","followers_url":"https://api.github.com/users/j0k3r/followers","following_url":"https://api.github.com/users/j0k3r/following{/other_user}","gists_url":"https://api.github.com/users/j0k3r/gists{/gist_id}","starred_url":"https://api.github.com/users/j0k3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0k3r/subscriptions","organizations_url":"https://api.github.com/users/j0k3r/orgs","repos_url":"https://api.github.com/users/j0k3r/repos","events_url":"https://api.github.com/users/j0k3r/events{/privacy}","received_events_url":"https://api.github.com/users/j0k3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-09-02T11:51:44Z","updated_at":"2015-11-12T08:00:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Adyg/php-imgur-api-client/pulls/8","html_url":"https://github.com/Adyg/php-imgur-api-client/pull/8","diff_url":"https://github.com/Adyg/php-imgur-api-client/pull/8.diff","patch_url":"https://github.com/Adyg/php-imgur-api-client/pull/8.patch"},"body":" :construction:  **This is a work in progress.**\r\n\r\nJust to let you know that I'll add some tests to your library.\r\nI'll try to cleanup things too (like coding standard), mostly using `php-cs-fixer`.\r\n\r\nWhat I've done:\r\n\r\n- add travis & scrutinizer\r\n- run `php-cs-fixer` to cleanup the code\r\n- add missing exception (like `InvalidArgumentException`)\r\n- `OAuth2` now take a `HttpClient` to avoid giving it in parameters of many of its methods (this simplify proxy method in `Client`)\r\n\r\nSeeing what I've changed, I guess it'll be safer to release 2.0.0."},"comment":{"url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/comments/156028780","html_url":"https://github.com/Adyg/php-imgur-api-client/pull/8#issuecomment-156028780","issue_url":"https://api.github.com/repos/Adyg/php-imgur-api-client/issues/8","id":156028780,"user":{"login":"j0k3r","id":62333,"avatar_url":"https://avatars.githubusercontent.com/u/62333?v=3","gravatar_id":"","url":"https://api.github.com/users/j0k3r","html_url":"https://github.com/j0k3r","followers_url":"https://api.github.com/users/j0k3r/followers","following_url":"https://api.github.com/users/j0k3r/following{/other_user}","gists_url":"https://api.github.com/users/j0k3r/gists{/gist_id}","starred_url":"https://api.github.com/users/j0k3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0k3r/subscriptions","organizations_url":"https://api.github.com/users/j0k3r/orgs","repos_url":"https://api.github.com/users/j0k3r/repos","events_url":"https://api.github.com/users/j0k3r/events{/privacy}","received_events_url":"https://api.github.com/users/j0k3r/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T08:00:40Z","updated_at":"2015-11-12T08:00:40Z","body":"Testing the API is the hardest part :)\r\nBut I'm still waiting for @Adyg answer."}}