{"action":"opened","number":473,"pull_request":{"url":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473","id":206206338,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MjA2MzM4","html_url":"https://github.com/mailgun/mailgun-php/pull/473","diff_url":"https://github.com/mailgun/mailgun-php/pull/473.diff","patch_url":"https://github.com/mailgun/mailgun-php/pull/473.patch","issue_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/473","number":473,"state":"open","locked":false,"title":"Close open resources","user":{"login":"Nyholm","id":1275206,"node_id":"MDQ6VXNlcjEyNzUyMDY=","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},"body":"This will fix #395","created_at":"2018-08-04T19:25:07Z","updated_at":"2018-08-04T19:25:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473/commits","review_comments_url":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473/comments","review_comment_url":"https://api.github.com/repos/mailgun/mailgun-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/473/comments","statuses_url":"https://api.github.com/repos/mailgun/mailgun-php/statuses/8b483438606a9dd3b89e2002ef1314de47f6faed","head":{"label":"Nyholm:issue-395","ref":"issue-395","sha":"8b483438606a9dd3b89e2002ef1314de47f6faed","user":{"login":"Nyholm","id":1275206,"node_id":"MDQ6VXNlcjEyNzUyMDY=","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},"repo":{"id":66332926,"node_id":"MDEwOlJlcG9zaXRvcnk2NjMzMjkyNg==","name":"mailgun-php","full_name":"Nyholm/mailgun-php","owner":{"login":"Nyholm","id":1275206,"node_id":"MDQ6VXNlcjEyNzUyMDY=","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},"private":false,"html_url":"https://github.com/Nyholm/mailgun-php","description":"Mailgun's Official SDK for PHP","fork":true,"url":"https://api.github.com/repos/Nyholm/mailgun-php","forks_url":"https://api.github.com/repos/Nyholm/mailgun-php/forks","keys_url":"https://api.github.com/repos/Nyholm/mailgun-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nyholm/mailgun-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nyholm/mailgun-php/teams","hooks_url":"https://api.github.com/repos/Nyholm/mailgun-php/hooks","issue_events_url":"https://api.github.com/repos/Nyholm/mailgun-php/issues/events{/number}","events_url":"https://api.github.com/repos/Nyholm/mailgun-php/events","assignees_url":"https://api.github.com/repos/Nyholm/mailgun-php/assignees{/user}","branches_url":"https://api.github.com/repos/Nyholm/mailgun-php/branches{/branch}","tags_url":"https://api.github.com/repos/Nyholm/mailgun-php/tags","blobs_url":"https://api.github.com/repos/Nyholm/mailgun-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nyholm/mailgun-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nyholm/mailgun-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nyholm/mailgun-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nyholm/mailgun-php/statuses/{sha}","languages_url":"https://api.github.com/repos/Nyholm/mailgun-php/languages","stargazers_url":"https://api.github.com/repos/Nyholm/mailgun-php/stargazers","contributors_url":"https://api.github.com/repos/Nyholm/mailgun-php/contributors","subscribers_url":"https://api.github.com/repos/Nyholm/mailgun-php/subscribers","subscription_url":"https://api.github.com/repos/Nyholm/mailgun-php/subscription","commits_url":"https://api.github.com/repos/Nyholm/mailgun-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nyholm/mailgun-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nyholm/mailgun-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nyholm/mailgun-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nyholm/mailgun-php/contents/{+path}","compare_url":"https://api.github.com/repos/Nyholm/mailgun-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nyholm/mailgun-php/merges","archive_url":"https://api.github.com/repos/Nyholm/mailgun-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nyholm/mailgun-php/downloads","issues_url":"https://api.github.com/repos/Nyholm/mailgun-php/issues{/number}","pulls_url":"https://api.github.com/repos/Nyholm/mailgun-php/pulls{/number}","milestones_url":"https://api.github.com/repos/Nyholm/mailgun-php/milestones{/number}","notifications_url":"https://api.github.com/repos/Nyholm/mailgun-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nyholm/mailgun-php/labels{/name}","releases_url":"https://api.github.com/repos/Nyholm/mailgun-php/releases{/id}","deployments_url":"https://api.github.com/repos/Nyholm/mailgun-php/deployments","created_at":"2016-08-23T04:24:43Z","updated_at":"2016-08-23T04:24:45Z","pushed_at":"2018-08-04T19:24:49Z","git_url":"git://github.com/Nyholm/mailgun-php.git","ssh_url":"git@github.com:Nyholm/mailgun-php.git","clone_url":"https://github.com/Nyholm/mailgun-php.git","svn_url":"https://github.com/Nyholm/mailgun-php","homepage":"http://www.mailgun.com","size":2640,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mailgun:master","ref":"master","sha":"48e5b8956b20ce109ece98cda06f7fac207ce52c","user":{"login":"mailgun","id":447686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NzY4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/447686?v=4","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"repo":{"id":11654443,"node_id":"MDEwOlJlcG9zaXRvcnkxMTY1NDQ0Mw==","name":"mailgun-php","full_name":"mailgun/mailgun-php","owner":{"login":"mailgun","id":447686,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0NzY4Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/447686?v=4","gravatar_id":"","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mailgun/mailgun-php","description":"Mailgun's Official SDK for PHP","fork":false,"url":"https://api.github.com/repos/mailgun/mailgun-php","forks_url":"https://api.github.com/repos/mailgun/mailgun-php/forks","keys_url":"https://api.github.com/repos/mailgun/mailgun-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailgun/mailgun-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailgun/mailgun-php/teams","hooks_url":"https://api.github.com/repos/mailgun/mailgun-php/hooks","issue_events_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/events{/number}","events_url":"https://api.github.com/repos/mailgun/mailgun-php/events","assignees_url":"https://api.github.com/repos/mailgun/mailgun-php/assignees{/user}","branches_url":"https://api.github.com/repos/mailgun/mailgun-php/branches{/branch}","tags_url":"https://api.github.com/repos/mailgun/mailgun-php/tags","blobs_url":"https://api.github.com/repos/mailgun/mailgun-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailgun/mailgun-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailgun/mailgun-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailgun/mailgun-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailgun/mailgun-php/statuses/{sha}","languages_url":"https://api.github.com/repos/mailgun/mailgun-php/languages","stargazers_url":"https://api.github.com/repos/mailgun/mailgun-php/stargazers","contributors_url":"https://api.github.com/repos/mailgun/mailgun-php/contributors","subscribers_url":"https://api.github.com/repos/mailgun/mailgun-php/subscribers","subscription_url":"https://api.github.com/repos/mailgun/mailgun-php/subscription","commits_url":"https://api.github.com/repos/mailgun/mailgun-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailgun/mailgun-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailgun/mailgun-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailgun/mailgun-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/mailgun/mailgun-php/contents/{+path}","compare_url":"https://api.github.com/repos/mailgun/mailgun-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailgun/mailgun-php/merges","archive_url":"https://api.github.com/repos/mailgun/mailgun-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailgun/mailgun-php/downloads","issues_url":"https://api.github.com/repos/mailgun/mailgun-php/issues{/number}","pulls_url":"https://api.github.com/repos/mailgun/mailgun-php/pulls{/number}","milestones_url":"https://api.github.com/repos/mailgun/mailgun-php/milestones{/number}","notifications_url":"https://api.github.com/repos/mailgun/mailgun-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailgun/mailgun-php/labels{/name}","releases_url":"https://api.github.com/repos/mailgun/mailgun-php/releases{/id}","deployments_url":"https://api.github.com/repos/mailgun/mailgun-php/deployments","created_at":"2013-07-25T07:20:47Z","updated_at":"2018-08-04T13:18:45Z","pushed_at":"2018-08-04T17:58:43Z","git_url":"git://github.com/mailgun/mailgun-php.git","ssh_url":"git@github.com:mailgun/mailgun-php.git","clone_url":"https://github.com/mailgun/mailgun-php.git","svn_url":"https://github.com/mailgun/mailgun-php","homepage":"http://www.mailgun.com","size":2623,"stargazers_count":740,"watchers_count":740,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":203,"mirror_url":null,"archived":false,"open_issues_count":58,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":203,"open_issues":58,"watchers":740,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473"},"html":{"href":"https://github.com/mailgun/mailgun-php/pull/473"},"issue":{"href":"https://api.github.com/repos/mailgun/mailgun-php/issues/473"},"comments":{"href":"https://api.github.com/repos/mailgun/mailgun-php/issues/473/comments"},"review_comments":{"href":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473/comments"},"review_comment":{"href":"https://api.github.com/repos/mailgun/mailgun-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mailgun/mailgun-php/pulls/473/commits"},"statuses":{"href":"https://api.github.com/repos/mailgun/mailgun-php/statuses/8b483438606a9dd3b89e2002ef1314de47f6faed"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":16,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"Nyholm"}}