{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9","id":40351618,"html_url":"https://github.com/zumba/vanilla-js-connect/pull/9","diff_url":"https://github.com/zumba/vanilla-js-connect/pull/9.diff","patch_url":"https://github.com/zumba/vanilla-js-connect/pull/9.patch","issue_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/9","number":9,"state":"closed","locked":false,"title":"removed unnecessary condition in toArray of Response","user":{"login":"j-feng13","id":3522996,"avatar_url":"https://avatars.githubusercontent.com/u/3522996?v=3","gravatar_id":"","url":"https://api.github.com/users/j-feng13","html_url":"https://github.com/j-feng13","followers_url":"https://api.github.com/users/j-feng13/followers","following_url":"https://api.github.com/users/j-feng13/following{/other_user}","gists_url":"https://api.github.com/users/j-feng13/gists{/gist_id}","starred_url":"https://api.github.com/users/j-feng13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-feng13/subscriptions","organizations_url":"https://api.github.com/users/j-feng13/orgs","repos_url":"https://api.github.com/users/j-feng13/repos","events_url":"https://api.github.com/users/j-feng13/events{/privacy}","received_events_url":"https://api.github.com/users/j-feng13/received_events","type":"User","site_admin":false},"body":"isset error isn't a good check if the object has an error property.\r\nuser->getName should never be called because user will not always be defined. ","created_at":"2015-07-20T13:29:43Z","updated_at":"2015-07-20T15:04:42Z","closed_at":"2015-07-20T15:04:42Z","merged_at":"2015-07-20T15:04:42Z","merge_commit_sha":"b7e04dbf5146d5c14571c7778c3f192b172be686","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9/commits","review_comments_url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9/comments","review_comment_url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/9/comments","statuses_url":"https://api.github.com/repos/zumba/vanilla-js-connect/statuses/d849dbf332563463c747e1c3f84bed4342332714","head":{"label":"zumba:moarTests","ref":"moarTests","sha":"d849dbf332563463c747e1c3f84bed4342332714","user":{"login":"zumba","id":67415,"avatar_url":"https://avatars.githubusercontent.com/u/67415?v=3","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"repo":{"id":38396672,"name":"vanilla-js-connect","full_name":"zumba/vanilla-js-connect","owner":{"login":"zumba","id":67415,"avatar_url":"https://avatars.githubusercontent.com/u/67415?v=3","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zumba/vanilla-js-connect","description":"Object oriented Vanilla Forums jsConnect implementation for PHP","fork":false,"url":"https://api.github.com/repos/zumba/vanilla-js-connect","forks_url":"https://api.github.com/repos/zumba/vanilla-js-connect/forks","keys_url":"https://api.github.com/repos/zumba/vanilla-js-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zumba/vanilla-js-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zumba/vanilla-js-connect/teams","hooks_url":"https://api.github.com/repos/zumba/vanilla-js-connect/hooks","issue_events_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/events{/number}","events_url":"https://api.github.com/repos/zumba/vanilla-js-connect/events","assignees_url":"https://api.github.com/repos/zumba/vanilla-js-connect/assignees{/user}","branches_url":"https://api.github.com/repos/zumba/vanilla-js-connect/branches{/branch}","tags_url":"https://api.github.com/repos/zumba/vanilla-js-connect/tags","blobs_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zumba/vanilla-js-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/zumba/vanilla-js-connect/languages","stargazers_url":"https://api.github.com/repos/zumba/vanilla-js-connect/stargazers","contributors_url":"https://api.github.com/repos/zumba/vanilla-js-connect/contributors","subscribers_url":"https://api.github.com/repos/zumba/vanilla-js-connect/subscribers","subscription_url":"https://api.github.com/repos/zumba/vanilla-js-connect/subscription","commits_url":"https://api.github.com/repos/zumba/vanilla-js-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/zumba/vanilla-js-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/zumba/vanilla-js-connect/contents/{+path}","compare_url":"https://api.github.com/repos/zumba/vanilla-js-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zumba/vanilla-js-connect/merges","archive_url":"https://api.github.com/repos/zumba/vanilla-js-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zumba/vanilla-js-connect/downloads","issues_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues{/number}","pulls_url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/zumba/vanilla-js-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/zumba/vanilla-js-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zumba/vanilla-js-connect/labels{/name}","releases_url":"https://api.github.com/repos/zumba/vanilla-js-connect/releases{/id}","created_at":"2015-07-01T21:44:12Z","updated_at":"2015-07-01T21:59:06Z","pushed_at":"2015-07-20T15:04:42Z","git_url":"git://github.com/zumba/vanilla-js-connect.git","ssh_url":"git@github.com:zumba/vanilla-js-connect.git","clone_url":"https://github.com/zumba/vanilla-js-connect.git","svn_url":"https://github.com/zumba/vanilla-js-connect","homepage":null,"size":312,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zumba:master","ref":"master","sha":"2c724cb7d0a67a81ba4046e0fa9825796891ddb6","user":{"login":"zumba","id":67415,"avatar_url":"https://avatars.githubusercontent.com/u/67415?v=3","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"repo":{"id":38396672,"name":"vanilla-js-connect","full_name":"zumba/vanilla-js-connect","owner":{"login":"zumba","id":67415,"avatar_url":"https://avatars.githubusercontent.com/u/67415?v=3","gravatar_id":"","url":"https://api.github.com/users/zumba","html_url":"https://github.com/zumba","followers_url":"https://api.github.com/users/zumba/followers","following_url":"https://api.github.com/users/zumba/following{/other_user}","gists_url":"https://api.github.com/users/zumba/gists{/gist_id}","starred_url":"https://api.github.com/users/zumba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zumba/subscriptions","organizations_url":"https://api.github.com/users/zumba/orgs","repos_url":"https://api.github.com/users/zumba/repos","events_url":"https://api.github.com/users/zumba/events{/privacy}","received_events_url":"https://api.github.com/users/zumba/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zumba/vanilla-js-connect","description":"Object oriented Vanilla Forums jsConnect implementation for PHP","fork":false,"url":"https://api.github.com/repos/zumba/vanilla-js-connect","forks_url":"https://api.github.com/repos/zumba/vanilla-js-connect/forks","keys_url":"https://api.github.com/repos/zumba/vanilla-js-connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zumba/vanilla-js-connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zumba/vanilla-js-connect/teams","hooks_url":"https://api.github.com/repos/zumba/vanilla-js-connect/hooks","issue_events_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/events{/number}","events_url":"https://api.github.com/repos/zumba/vanilla-js-connect/events","assignees_url":"https://api.github.com/repos/zumba/vanilla-js-connect/assignees{/user}","branches_url":"https://api.github.com/repos/zumba/vanilla-js-connect/branches{/branch}","tags_url":"https://api.github.com/repos/zumba/vanilla-js-connect/tags","blobs_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zumba/vanilla-js-connect/statuses/{sha}","languages_url":"https://api.github.com/repos/zumba/vanilla-js-connect/languages","stargazers_url":"https://api.github.com/repos/zumba/vanilla-js-connect/stargazers","contributors_url":"https://api.github.com/repos/zumba/vanilla-js-connect/contributors","subscribers_url":"https://api.github.com/repos/zumba/vanilla-js-connect/subscribers","subscription_url":"https://api.github.com/repos/zumba/vanilla-js-connect/subscription","commits_url":"https://api.github.com/repos/zumba/vanilla-js-connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/zumba/vanilla-js-connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/zumba/vanilla-js-connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/zumba/vanilla-js-connect/contents/{+path}","compare_url":"https://api.github.com/repos/zumba/vanilla-js-connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zumba/vanilla-js-connect/merges","archive_url":"https://api.github.com/repos/zumba/vanilla-js-connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zumba/vanilla-js-connect/downloads","issues_url":"https://api.github.com/repos/zumba/vanilla-js-connect/issues{/number}","pulls_url":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls{/number}","milestones_url":"https://api.github.com/repos/zumba/vanilla-js-connect/milestones{/number}","notifications_url":"https://api.github.com/repos/zumba/vanilla-js-connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zumba/vanilla-js-connect/labels{/name}","releases_url":"https://api.github.com/repos/zumba/vanilla-js-connect/releases{/id}","created_at":"2015-07-01T21:44:12Z","updated_at":"2015-07-01T21:59:06Z","pushed_at":"2015-07-20T15:04:42Z","git_url":"git://github.com/zumba/vanilla-js-connect.git","ssh_url":"git@github.com:zumba/vanilla-js-connect.git","clone_url":"https://github.com/zumba/vanilla-js-connect.git","svn_url":"https://github.com/zumba/vanilla-js-connect","homepage":null,"size":312,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9"},"html":{"href":"https://github.com/zumba/vanilla-js-connect/pull/9"},"issue":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/9"},"comments":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/zumba/vanilla-js-connect/statuses/d849dbf332563463c747e1c3f84bed4342332714"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"young-steveo","id":497048,"avatar_url":"https://avatars.githubusercontent.com/u/497048?v=3","gravatar_id":"","url":"https://api.github.com/users/young-steveo","html_url":"https://github.com/young-steveo","followers_url":"https://api.github.com/users/young-steveo/followers","following_url":"https://api.github.com/users/young-steveo/following{/other_user}","gists_url":"https://api.github.com/users/young-steveo/gists{/gist_id}","starred_url":"https://api.github.com/users/young-steveo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/young-steveo/subscriptions","organizations_url":"https://api.github.com/users/young-steveo/orgs","repos_url":"https://api.github.com/users/young-steveo/repos","events_url":"https://api.github.com/users/young-steveo/events{/privacy}","received_events_url":"https://api.github.com/users/young-steveo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":27,"deletions":3,"changed_files":2}}