{"action":"closed","number":69,"pull_request":{"url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69","id":239616636,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NjE2NjM2","html_url":"https://github.com/helpscout/helpscout-api-php/pull/69","diff_url":"https://github.com/helpscout/helpscout-api-php/pull/69.diff","patch_url":"https://github.com/helpscout/helpscout-api-php/pull/69.patch","issue_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/69","number":69,"state":"closed","locked":false,"title":"Simplify instantiation of client","user":{"login":"davidstanley01","id":844070,"node_id":"MDQ6VXNlcjg0NDA3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/844070?v=4","gravatar_id":"","url":"https://api.github.com/users/davidstanley01","html_url":"https://github.com/davidstanley01","followers_url":"https://api.github.com/users/davidstanley01/followers","following_url":"https://api.github.com/users/davidstanley01/following{/other_user}","gists_url":"https://api.github.com/users/davidstanley01/gists{/gist_id}","starred_url":"https://api.github.com/users/davidstanley01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidstanley01/subscriptions","organizations_url":"https://api.github.com/users/davidstanley01/orgs","repos_url":"https://api.github.com/users/davidstanley01/repos","events_url":"https://api.github.com/users/davidstanley01/events{/privacy}","received_events_url":"https://api.github.com/users/davidstanley01/received_events","type":"User","site_admin":false},"body":"This PR simplifies the way we instantiate the client. To do this, I've swapped the HTTPlug stuff for just using guzzle. Along the way, I ported the plugins to be handlers in guzzle and also updated the tests and stuff to match. I've added integration with CodeClimate and test coverage provide by Travis (via CodeClimate). Finally, I've added a retry handler to the client with exponential backoff. All good.","created_at":"2018-12-18T20:11:32Z","updated_at":"2018-12-18T20:18:19Z","closed_at":"2018-12-18T20:18:19Z","merged_at":null,"merge_commit_sha":"c2b9c16ee8052f156a7de71988344a8cf8a51e95","assignee":null,"assignees":[],"requested_reviewers":[{"login":"bkuhl","id":524933,"node_id":"MDQ6VXNlcjUyNDkzMw==","avatar_url":"https://avatars2.githubusercontent.com/u/524933?v=4","gravatar_id":"","url":"https://api.github.com/users/bkuhl","html_url":"https://github.com/bkuhl","followers_url":"https://api.github.com/users/bkuhl/followers","following_url":"https://api.github.com/users/bkuhl/following{/other_user}","gists_url":"https://api.github.com/users/bkuhl/gists{/gist_id}","starred_url":"https://api.github.com/users/bkuhl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkuhl/subscriptions","organizations_url":"https://api.github.com/users/bkuhl/orgs","repos_url":"https://api.github.com/users/bkuhl/repos","events_url":"https://api.github.com/users/bkuhl/events{/privacy}","received_events_url":"https://api.github.com/users/bkuhl/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69/commits","review_comments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69/comments","review_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/69/comments","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-php/statuses/081c1b1f02422ad6b12d91cd90c692a57e922947","head":{"label":"helpscout:simplify","ref":"simplify","sha":"081c1b1f02422ad6b12d91cd90c692a57e922947","user":{"login":"helpscout","id":2071395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzEzOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2071395?v=4","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"repo":{"id":5246544,"node_id":"MDEwOlJlcG9zaXRvcnk1MjQ2NTQ0","name":"helpscout-api-php","full_name":"helpscout/helpscout-api-php","private":false,"owner":{"login":"helpscout","id":2071395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzEzOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2071395?v=4","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/helpscout/helpscout-api-php","description":"PHP Wrapper for the Help Scout API","fork":false,"url":"https://api.github.com/repos/helpscout/helpscout-api-php","forks_url":"https://api.github.com/repos/helpscout/helpscout-api-php/forks","keys_url":"https://api.github.com/repos/helpscout/helpscout-api-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helpscout/helpscout-api-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helpscout/helpscout-api-php/teams","hooks_url":"https://api.github.com/repos/helpscout/helpscout-api-php/hooks","issue_events_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/events{/number}","events_url":"https://api.github.com/repos/helpscout/helpscout-api-php/events","assignees_url":"https://api.github.com/repos/helpscout/helpscout-api-php/assignees{/user}","branches_url":"https://api.github.com/repos/helpscout/helpscout-api-php/branches{/branch}","tags_url":"https://api.github.com/repos/helpscout/helpscout-api-php/tags","blobs_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-php/statuses/{sha}","languages_url":"https://api.github.com/repos/helpscout/helpscout-api-php/languages","stargazers_url":"https://api.github.com/repos/helpscout/helpscout-api-php/stargazers","contributors_url":"https://api.github.com/repos/helpscout/helpscout-api-php/contributors","subscribers_url":"https://api.github.com/repos/helpscout/helpscout-api-php/subscribers","subscription_url":"https://api.github.com/repos/helpscout/helpscout-api-php/subscription","commits_url":"https://api.github.com/repos/helpscout/helpscout-api-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/helpscout/helpscout-api-php/contents/{+path}","compare_url":"https://api.github.com/repos/helpscout/helpscout-api-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helpscout/helpscout-api-php/merges","archive_url":"https://api.github.com/repos/helpscout/helpscout-api-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helpscout/helpscout-api-php/downloads","issues_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues{/number}","pulls_url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls{/number}","milestones_url":"https://api.github.com/repos/helpscout/helpscout-api-php/milestones{/number}","notifications_url":"https://api.github.com/repos/helpscout/helpscout-api-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helpscout/helpscout-api-php/labels{/name}","releases_url":"https://api.github.com/repos/helpscout/helpscout-api-php/releases{/id}","deployments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/deployments","created_at":"2012-07-31T14:01:23Z","updated_at":"2018-11-29T20:47:18Z","pushed_at":"2018-12-18T20:17:37Z","git_url":"git://github.com/helpscout/helpscout-api-php.git","ssh_url":"git@github.com:helpscout/helpscout-api-php.git","clone_url":"https://github.com/helpscout/helpscout-api-php.git","svn_url":"https://github.com/helpscout/helpscout-api-php","homepage":null,"size":469,"stargazers_count":57,"watchers_count":57,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":39,"open_issues":6,"watchers":57,"default_branch":"master"}},"base":{"label":"helpscout:master","ref":"master","sha":"1c7bc0aa5eeb42ca570595faff3d0d79b73bec06","user":{"login":"helpscout","id":2071395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzEzOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2071395?v=4","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"repo":{"id":5246544,"node_id":"MDEwOlJlcG9zaXRvcnk1MjQ2NTQ0","name":"helpscout-api-php","full_name":"helpscout/helpscout-api-php","private":false,"owner":{"login":"helpscout","id":2071395,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNzEzOTU=","avatar_url":"https://avatars0.githubusercontent.com/u/2071395?v=4","gravatar_id":"","url":"https://api.github.com/users/helpscout","html_url":"https://github.com/helpscout","followers_url":"https://api.github.com/users/helpscout/followers","following_url":"https://api.github.com/users/helpscout/following{/other_user}","gists_url":"https://api.github.com/users/helpscout/gists{/gist_id}","starred_url":"https://api.github.com/users/helpscout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helpscout/subscriptions","organizations_url":"https://api.github.com/users/helpscout/orgs","repos_url":"https://api.github.com/users/helpscout/repos","events_url":"https://api.github.com/users/helpscout/events{/privacy}","received_events_url":"https://api.github.com/users/helpscout/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/helpscout/helpscout-api-php","description":"PHP Wrapper for the Help Scout API","fork":false,"url":"https://api.github.com/repos/helpscout/helpscout-api-php","forks_url":"https://api.github.com/repos/helpscout/helpscout-api-php/forks","keys_url":"https://api.github.com/repos/helpscout/helpscout-api-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/helpscout/helpscout-api-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/helpscout/helpscout-api-php/teams","hooks_url":"https://api.github.com/repos/helpscout/helpscout-api-php/hooks","issue_events_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/events{/number}","events_url":"https://api.github.com/repos/helpscout/helpscout-api-php/events","assignees_url":"https://api.github.com/repos/helpscout/helpscout-api-php/assignees{/user}","branches_url":"https://api.github.com/repos/helpscout/helpscout-api-php/branches{/branch}","tags_url":"https://api.github.com/repos/helpscout/helpscout-api-php/tags","blobs_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/helpscout/helpscout-api-php/statuses/{sha}","languages_url":"https://api.github.com/repos/helpscout/helpscout-api-php/languages","stargazers_url":"https://api.github.com/repos/helpscout/helpscout-api-php/stargazers","contributors_url":"https://api.github.com/repos/helpscout/helpscout-api-php/contributors","subscribers_url":"https://api.github.com/repos/helpscout/helpscout-api-php/subscribers","subscription_url":"https://api.github.com/repos/helpscout/helpscout-api-php/subscription","commits_url":"https://api.github.com/repos/helpscout/helpscout-api-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/helpscout/helpscout-api-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/helpscout/helpscout-api-php/contents/{+path}","compare_url":"https://api.github.com/repos/helpscout/helpscout-api-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/helpscout/helpscout-api-php/merges","archive_url":"https://api.github.com/repos/helpscout/helpscout-api-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/helpscout/helpscout-api-php/downloads","issues_url":"https://api.github.com/repos/helpscout/helpscout-api-php/issues{/number}","pulls_url":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls{/number}","milestones_url":"https://api.github.com/repos/helpscout/helpscout-api-php/milestones{/number}","notifications_url":"https://api.github.com/repos/helpscout/helpscout-api-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/helpscout/helpscout-api-php/labels{/name}","releases_url":"https://api.github.com/repos/helpscout/helpscout-api-php/releases{/id}","deployments_url":"https://api.github.com/repos/helpscout/helpscout-api-php/deployments","created_at":"2012-07-31T14:01:23Z","updated_at":"2018-11-29T20:47:18Z","pushed_at":"2018-12-18T20:17:37Z","git_url":"git://github.com/helpscout/helpscout-api-php.git","ssh_url":"git@github.com:helpscout/helpscout-api-php.git","clone_url":"https://github.com/helpscout/helpscout-api-php.git","svn_url":"https://github.com/helpscout/helpscout-api-php","homepage":null,"size":469,"stargazers_count":57,"watchers_count":57,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":6,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":39,"open_issues":6,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69"},"html":{"href":"https://github.com/helpscout/helpscout-api-php/pull/69"},"issue":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/69"},"comments":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/helpscout/helpscout-api-php/statuses/081c1b1f02422ad6b12d91cd90c692a57e922947"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":14,"additions":19504,"deletions":7190,"changed_files":323}}
{"actor":{"display_login":"davidstanley01"}}