{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37","id":36282464,"html_url":"https://github.com/robrichards/xmlseclibs/pull/37","diff_url":"https://github.com/robrichards/xmlseclibs/pull/37.diff","patch_url":"https://github.com/robrichards/xmlseclibs/pull/37.patch","issue_url":"https://api.github.com/repos/robrichards/xmlseclibs/issues/37","number":37,"state":"closed","locked":false,"title":"Remove unreachable statements.","user":{"login":"jaimeperez","id":1942728,"avatar_url":"https://avatars.githubusercontent.com/u/1942728?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimeperez","html_url":"https://github.com/jaimeperez","followers_url":"https://api.github.com/users/jaimeperez/followers","following_url":"https://api.github.com/users/jaimeperez/following{/other_user}","gists_url":"https://api.github.com/users/jaimeperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimeperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimeperez/subscriptions","organizations_url":"https://api.github.com/users/jaimeperez/orgs","repos_url":"https://api.github.com/users/jaimeperez/repos","events_url":"https://api.github.com/users/jaimeperez/events{/privacy}","received_events_url":"https://api.github.com/users/jaimeperez/received_events","type":"User","site_admin":false},"body":"There's a few statements in the code that are unreachable, mostly return or break statements that happen after throwing an exception or even returning from a function. This pull request removes them all.","created_at":"2015-05-27T09:01:35Z","updated_at":"2015-05-27T11:29:41Z","closed_at":"2015-05-27T11:29:41Z","merged_at":"2015-05-27T11:29:41Z","merge_commit_sha":"a7ef5b307af75dbb4b5efcffb0b510094b0dd260","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37/commits","review_comments_url":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37/comments","review_comment_url":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/robrichards/xmlseclibs/issues/37/comments","statuses_url":"https://api.github.com/repos/robrichards/xmlseclibs/statuses/bb9f9440da927900a0a9e45fe3f62ab05eb19a28","head":{"label":"jaimeperez:cleanup","ref":"cleanup","sha":"bb9f9440da927900a0a9e45fe3f62ab05eb19a28","user":{"login":"jaimeperez","id":1942728,"avatar_url":"https://avatars.githubusercontent.com/u/1942728?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimeperez","html_url":"https://github.com/jaimeperez","followers_url":"https://api.github.com/users/jaimeperez/followers","following_url":"https://api.github.com/users/jaimeperez/following{/other_user}","gists_url":"https://api.github.com/users/jaimeperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimeperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimeperez/subscriptions","organizations_url":"https://api.github.com/users/jaimeperez/orgs","repos_url":"https://api.github.com/users/jaimeperez/repos","events_url":"https://api.github.com/users/jaimeperez/events{/privacy}","received_events_url":"https://api.github.com/users/jaimeperez/received_events","type":"User","site_admin":false},"repo":{"id":36305121,"name":"xmlseclibs","full_name":"jaimeperez/xmlseclibs","owner":{"login":"jaimeperez","id":1942728,"avatar_url":"https://avatars.githubusercontent.com/u/1942728?v=3","gravatar_id":"","url":"https://api.github.com/users/jaimeperez","html_url":"https://github.com/jaimeperez","followers_url":"https://api.github.com/users/jaimeperez/followers","following_url":"https://api.github.com/users/jaimeperez/following{/other_user}","gists_url":"https://api.github.com/users/jaimeperez/gists{/gist_id}","starred_url":"https://api.github.com/users/jaimeperez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaimeperez/subscriptions","organizations_url":"https://api.github.com/users/jaimeperez/orgs","repos_url":"https://api.github.com/users/jaimeperez/repos","events_url":"https://api.github.com/users/jaimeperez/events{/privacy}","received_events_url":"https://api.github.com/users/jaimeperez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaimeperez/xmlseclibs","description":"A PHP library for XML Security","fork":true,"url":"https://api.github.com/repos/jaimeperez/xmlseclibs","forks_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/forks","keys_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/teams","hooks_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/hooks","issue_events_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/issues/events{/number}","events_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/events","assignees_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/assignees{/user}","branches_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/branches{/branch}","tags_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/tags","blobs_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/statuses/{sha}","languages_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/languages","stargazers_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/stargazers","contributors_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/contributors","subscribers_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/subscribers","subscription_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/subscription","commits_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/contents/{+path}","compare_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/merges","archive_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/downloads","issues_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/issues{/number}","pulls_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/pulls{/number}","milestones_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/milestones{/number}","notifications_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/labels{/name}","releases_url":"https://api.github.com/repos/jaimeperez/xmlseclibs/releases{/id}","created_at":"2015-05-26T15:26:55Z","updated_at":"2015-05-26T15:26:55Z","pushed_at":"2015-05-27T09:55:44Z","git_url":"git://github.com/jaimeperez/xmlseclibs.git","ssh_url":"git@github.com:jaimeperez/xmlseclibs.git","clone_url":"https://github.com/jaimeperez/xmlseclibs.git","svn_url":"https://github.com/jaimeperez/xmlseclibs","homepage":"","size":215,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"robrichards:master","ref":"master","sha":"abbdc83e1e32beda8750a5f87255c8ad38b0543c","user":{"login":"robrichards","id":210629,"avatar_url":"https://avatars.githubusercontent.com/u/210629?v=3","gravatar_id":"","url":"https://api.github.com/users/robrichards","html_url":"https://github.com/robrichards","followers_url":"https://api.github.com/users/robrichards/followers","following_url":"https://api.github.com/users/robrichards/following{/other_user}","gists_url":"https://api.github.com/users/robrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/robrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrichards/subscriptions","organizations_url":"https://api.github.com/users/robrichards/orgs","repos_url":"https://api.github.com/users/robrichards/repos","events_url":"https://api.github.com/users/robrichards/events{/privacy}","received_events_url":"https://api.github.com/users/robrichards/received_events","type":"User","site_admin":false},"repo":{"id":33202004,"name":"xmlseclibs","full_name":"robrichards/xmlseclibs","owner":{"login":"robrichards","id":210629,"avatar_url":"https://avatars.githubusercontent.com/u/210629?v=3","gravatar_id":"","url":"https://api.github.com/users/robrichards","html_url":"https://github.com/robrichards","followers_url":"https://api.github.com/users/robrichards/followers","following_url":"https://api.github.com/users/robrichards/following{/other_user}","gists_url":"https://api.github.com/users/robrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/robrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrichards/subscriptions","organizations_url":"https://api.github.com/users/robrichards/orgs","repos_url":"https://api.github.com/users/robrichards/repos","events_url":"https://api.github.com/users/robrichards/events{/privacy}","received_events_url":"https://api.github.com/users/robrichards/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/robrichards/xmlseclibs","description":"A PHP library for XML Security","fork":false,"url":"https://api.github.com/repos/robrichards/xmlseclibs","forks_url":"https://api.github.com/repos/robrichards/xmlseclibs/forks","keys_url":"https://api.github.com/repos/robrichards/xmlseclibs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/robrichards/xmlseclibs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/robrichards/xmlseclibs/teams","hooks_url":"https://api.github.com/repos/robrichards/xmlseclibs/hooks","issue_events_url":"https://api.github.com/repos/robrichards/xmlseclibs/issues/events{/number}","events_url":"https://api.github.com/repos/robrichards/xmlseclibs/events","assignees_url":"https://api.github.com/repos/robrichards/xmlseclibs/assignees{/user}","branches_url":"https://api.github.com/repos/robrichards/xmlseclibs/branches{/branch}","tags_url":"https://api.github.com/repos/robrichards/xmlseclibs/tags","blobs_url":"https://api.github.com/repos/robrichards/xmlseclibs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/robrichards/xmlseclibs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/robrichards/xmlseclibs/git/refs{/sha}","trees_url":"https://api.github.com/repos/robrichards/xmlseclibs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/robrichards/xmlseclibs/statuses/{sha}","languages_url":"https://api.github.com/repos/robrichards/xmlseclibs/languages","stargazers_url":"https://api.github.com/repos/robrichards/xmlseclibs/stargazers","contributors_url":"https://api.github.com/repos/robrichards/xmlseclibs/contributors","subscribers_url":"https://api.github.com/repos/robrichards/xmlseclibs/subscribers","subscription_url":"https://api.github.com/repos/robrichards/xmlseclibs/subscription","commits_url":"https://api.github.com/repos/robrichards/xmlseclibs/commits{/sha}","git_commits_url":"https://api.github.com/repos/robrichards/xmlseclibs/git/commits{/sha}","comments_url":"https://api.github.com/repos/robrichards/xmlseclibs/comments{/number}","issue_comment_url":"https://api.github.com/repos/robrichards/xmlseclibs/issues/comments{/number}","contents_url":"https://api.github.com/repos/robrichards/xmlseclibs/contents/{+path}","compare_url":"https://api.github.com/repos/robrichards/xmlseclibs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/robrichards/xmlseclibs/merges","archive_url":"https://api.github.com/repos/robrichards/xmlseclibs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/robrichards/xmlseclibs/downloads","issues_url":"https://api.github.com/repos/robrichards/xmlseclibs/issues{/number}","pulls_url":"https://api.github.com/repos/robrichards/xmlseclibs/pulls{/number}","milestones_url":"https://api.github.com/repos/robrichards/xmlseclibs/milestones{/number}","notifications_url":"https://api.github.com/repos/robrichards/xmlseclibs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/robrichards/xmlseclibs/labels{/name}","releases_url":"https://api.github.com/repos/robrichards/xmlseclibs/releases{/id}","created_at":"2015-03-31T18:20:11Z","updated_at":"2015-05-22T09:44:56Z","pushed_at":"2015-05-27T11:29:41Z","git_url":"git://github.com/robrichards/xmlseclibs.git","ssh_url":"git@github.com:robrichards/xmlseclibs.git","clone_url":"https://github.com/robrichards/xmlseclibs.git","svn_url":"https://github.com/robrichards/xmlseclibs","homepage":"","size":353,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":13,"forks":8,"open_issues":13,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37"},"html":{"href":"https://github.com/robrichards/xmlseclibs/pull/37"},"issue":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/issues/37"},"comments":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/robrichards/xmlseclibs/statuses/bb9f9440da927900a0a9e45fe3f62ab05eb19a28"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"robrichards","id":210629,"avatar_url":"https://avatars.githubusercontent.com/u/210629?v=3","gravatar_id":"","url":"https://api.github.com/users/robrichards","html_url":"https://github.com/robrichards","followers_url":"https://api.github.com/users/robrichards/followers","following_url":"https://api.github.com/users/robrichards/following{/other_user}","gists_url":"https://api.github.com/users/robrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/robrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrichards/subscriptions","organizations_url":"https://api.github.com/users/robrichards/orgs","repos_url":"https://api.github.com/users/robrichards/repos","events_url":"https://api.github.com/users/robrichards/events{/privacy}","received_events_url":"https://api.github.com/users/robrichards/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":0,"deletions":24,"changed_files":1}}