{"action":"created","comment":{"url":"https://api.github.com/repos/gushphp/gush/pulls/comments/65824758","id":65824758,"diff_hunk":"@@ -52,7 +54,18 @@ protected function configure()\n     protected function execute(InputInterface $input, OutputInterface $output)\n     {\n         if (null === $issueNumber = $input->getArgument('issue')) {\n-            $issueNumber = $this->getHelper('git')->getIssueNumber();\n+            $segments = explode('-', $this->getHelper('git')->getActiveBranchName(), 2);\n+\n+            if (!isset($segments[1])) {\n+                throw new UserException(","path":"src/Command/Issue/IssueShowCommand.php","position":18,"original_position":18,"commit_id":"16dd494639f38227488d06a5de6b46876909599c","original_commit_id":"16dd494639f38227488d06a5de6b46876909599c","user":{"login":"cordoval","id":328359,"avatar_url":"https://avatars.githubusercontent.com/u/328359?v=3","gravatar_id":"","url":"https://api.github.com/users/cordoval","html_url":"https://github.com/cordoval","followers_url":"https://api.github.com/users/cordoval/followers","following_url":"https://api.github.com/users/cordoval/following{/other_user}","gists_url":"https://api.github.com/users/cordoval/gists{/gist_id}","starred_url":"https://api.github.com/users/cordoval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cordoval/subscriptions","organizations_url":"https://api.github.com/users/cordoval/orgs","repos_url":"https://api.github.com/users/cordoval/repos","events_url":"https://api.github.com/users/cordoval/events{/privacy}","received_events_url":"https://api.github.com/users/cordoval/received_events","type":"User","site_admin":false},"body":"the exception here is fine","created_at":"2016-06-05T21:01:47Z","updated_at":"2016-06-05T21:01:47Z","html_url":"https://github.com/gushphp/gush/pull/522#discussion_r65824758","pull_request_url":"https://api.github.com/repos/gushphp/gush/pulls/522","_links":{"self":{"href":"https://api.github.com/repos/gushphp/gush/pulls/comments/65824758"},"html":{"href":"https://github.com/gushphp/gush/pull/522#discussion_r65824758"},"pull_request":{"href":"https://api.github.com/repos/gushphp/gush/pulls/522"}}},"pull_request":{"url":"https://api.github.com/repos/gushphp/gush/pulls/522","id":50627416,"html_url":"https://github.com/gushphp/gush/pull/522","diff_url":"https://github.com/gushphp/gush/pull/522.diff","patch_url":"https://github.com/gushphp/gush/pull/522.patch","issue_url":"https://api.github.com/repos/gushphp/gush/issues/522","number":522,"state":"open","locked":false,"title":"Improve display of commands","user":{"login":"sstok","id":904790,"avatar_url":"https://avatars.githubusercontent.com/u/904790?v=3","gravatar_id":"","url":"https://api.github.com/users/sstok","html_url":"https://github.com/sstok","followers_url":"https://api.github.com/users/sstok/followers","following_url":"https://api.github.com/users/sstok/following{/other_user}","gists_url":"https://api.github.com/users/sstok/gists{/gist_id}","starred_url":"https://api.github.com/users/sstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstok/subscriptions","organizations_url":"https://api.github.com/users/sstok/orgs","repos_url":"https://api.github.com/users/sstok/repos","events_url":"https://api.github.com/users/sstok/events{/privacy}","received_events_url":"https://api.github.com/users/sstok/received_events","type":"User","site_admin":false},"body":"|Q            |A  |\r\n|---          |---|\r\n|Fixed Tickets|   |\r\n|License      |MIT|\r\n                   \r\nWork in progress\r\n\r\n**Issue:show**\r\n![Issue:show open](https://cloud.githubusercontent.com/assets/904790/11146219/ab2799b6-8a0c-11e5-9576-17fc43938770.png)\r\n![Issue:show closed](https://cloud.githubusercontent.com/assets/904790/11146220/ab28e99c-8a0c-11e5-9418-6d943de55f9c.png)\r\n\r\n**pull-request:list**\r\n![schermafbeelding 2015-11-13 om 15 41 44](https://cloud.githubusercontent.com/assets/904790/11148461/2d884828-8a1d-11e5-98db-ae8277497606.png)\r\n\r\n**pull-request:list:milestones**\r\n![schermafbeelding 2015-11-13 om 15 42 14](https://cloud.githubusercontent.com/assets/904790/11148462/2d99c896-8a1d-11e5-9e19-2c42f6dba504.png)","created_at":"2015-11-13T10:50:36Z","updated_at":"2016-06-05T21:01:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0a4459ce3d6852b7b2b2c37725272e44626ac72a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gushphp/gush/pulls/522/commits","review_comments_url":"https://api.github.com/repos/gushphp/gush/pulls/522/comments","review_comment_url":"https://api.github.com/repos/gushphp/gush/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gushphp/gush/issues/522/comments","statuses_url":"https://api.github.com/repos/gushphp/gush/statuses/16dd494639f38227488d06a5de6b46876909599c","head":{"label":"sstok:githelper-improvements","ref":"githelper-improvements","sha":"16dd494639f38227488d06a5de6b46876909599c","user":{"login":"sstok","id":904790,"avatar_url":"https://avatars.githubusercontent.com/u/904790?v=3","gravatar_id":"","url":"https://api.github.com/users/sstok","html_url":"https://github.com/sstok","followers_url":"https://api.github.com/users/sstok/followers","following_url":"https://api.github.com/users/sstok/following{/other_user}","gists_url":"https://api.github.com/users/sstok/gists{/gist_id}","starred_url":"https://api.github.com/users/sstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstok/subscriptions","organizations_url":"https://api.github.com/users/sstok/orgs","repos_url":"https://api.github.com/users/sstok/repos","events_url":"https://api.github.com/users/sstok/events{/privacy}","received_events_url":"https://api.github.com/users/sstok/received_events","type":"User","site_admin":false},"repo":{"id":19689159,"name":"gush","full_name":"sstok/gush","owner":{"login":"sstok","id":904790,"avatar_url":"https://avatars.githubusercontent.com/u/904790?v=3","gravatar_id":"","url":"https://api.github.com/users/sstok","html_url":"https://github.com/sstok","followers_url":"https://api.github.com/users/sstok/followers","following_url":"https://api.github.com/users/sstok/following{/other_user}","gists_url":"https://api.github.com/users/sstok/gists{/gist_id}","starred_url":"https://api.github.com/users/sstok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sstok/subscriptions","organizations_url":"https://api.github.com/users/sstok/orgs","repos_url":"https://api.github.com/users/sstok/repos","events_url":"https://api.github.com/users/sstok/events{/privacy}","received_events_url":"https://api.github.com/users/sstok/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sstok/gush","description":"Open Source & Enterprise FAST project maintainance/contributing","fork":true,"url":"https://api.github.com/repos/sstok/gush","forks_url":"https://api.github.com/repos/sstok/gush/forks","keys_url":"https://api.github.com/repos/sstok/gush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sstok/gush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sstok/gush/teams","hooks_url":"https://api.github.com/repos/sstok/gush/hooks","issue_events_url":"https://api.github.com/repos/sstok/gush/issues/events{/number}","events_url":"https://api.github.com/repos/sstok/gush/events","assignees_url":"https://api.github.com/repos/sstok/gush/assignees{/user}","branches_url":"https://api.github.com/repos/sstok/gush/branches{/branch}","tags_url":"https://api.github.com/repos/sstok/gush/tags","blobs_url":"https://api.github.com/repos/sstok/gush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sstok/gush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sstok/gush/git/refs{/sha}","trees_url":"https://api.github.com/repos/sstok/gush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sstok/gush/statuses/{sha}","languages_url":"https://api.github.com/repos/sstok/gush/languages","stargazers_url":"https://api.github.com/repos/sstok/gush/stargazers","contributors_url":"https://api.github.com/repos/sstok/gush/contributors","subscribers_url":"https://api.github.com/repos/sstok/gush/subscribers","subscription_url":"https://api.github.com/repos/sstok/gush/subscription","commits_url":"https://api.github.com/repos/sstok/gush/commits{/sha}","git_commits_url":"https://api.github.com/repos/sstok/gush/git/commits{/sha}","comments_url":"https://api.github.com/repos/sstok/gush/comments{/number}","issue_comment_url":"https://api.github.com/repos/sstok/gush/issues/comments{/number}","contents_url":"https://api.github.com/repos/sstok/gush/contents/{+path}","compare_url":"https://api.github.com/repos/sstok/gush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sstok/gush/merges","archive_url":"https://api.github.com/repos/sstok/gush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sstok/gush/downloads","issues_url":"https://api.github.com/repos/sstok/gush/issues{/number}","pulls_url":"https://api.github.com/repos/sstok/gush/pulls{/number}","milestones_url":"https://api.github.com/repos/sstok/gush/milestones{/number}","notifications_url":"https://api.github.com/repos/sstok/gush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sstok/gush/labels{/name}","releases_url":"https://api.github.com/repos/sstok/gush/releases{/id}","deployments_url":"https://api.github.com/repos/sstok/gush/deployments","created_at":"2014-05-12T07:09:35Z","updated_at":"2015-05-07T10:15:10Z","pushed_at":"2016-06-05T20:56:15Z","git_url":"git://github.com/sstok/gush.git","ssh_url":"git@github.com:sstok/gush.git","clone_url":"https://github.com/sstok/gush.git","svn_url":"https://github.com/sstok/gush","homepage":"http://gushphp.org","size":3623,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"gushphp:master","ref":"master","sha":"b46578a1f82e3ee641f3f8a35c40ccac67c3ee5d","user":{"login":"gushphp","id":6666950,"avatar_url":"https://avatars.githubusercontent.com/u/6666950?v=3","gravatar_id":"","url":"https://api.github.com/users/gushphp","html_url":"https://github.com/gushphp","followers_url":"https://api.github.com/users/gushphp/followers","following_url":"https://api.github.com/users/gushphp/following{/other_user}","gists_url":"https://api.github.com/users/gushphp/gists{/gist_id}","starred_url":"https://api.github.com/users/gushphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gushphp/subscriptions","organizations_url":"https://api.github.com/users/gushphp/orgs","repos_url":"https://api.github.com/users/gushphp/repos","events_url":"https://api.github.com/users/gushphp/events{/privacy}","received_events_url":"https://api.github.com/users/gushphp/received_events","type":"Organization","site_admin":false},"repo":{"id":16789051,"name":"gush","full_name":"gushphp/gush","owner":{"login":"gushphp","id":6666950,"avatar_url":"https://avatars.githubusercontent.com/u/6666950?v=3","gravatar_id":"","url":"https://api.github.com/users/gushphp","html_url":"https://github.com/gushphp","followers_url":"https://api.github.com/users/gushphp/followers","following_url":"https://api.github.com/users/gushphp/following{/other_user}","gists_url":"https://api.github.com/users/gushphp/gists{/gist_id}","starred_url":"https://api.github.com/users/gushphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gushphp/subscriptions","organizations_url":"https://api.github.com/users/gushphp/orgs","repos_url":"https://api.github.com/users/gushphp/repos","events_url":"https://api.github.com/users/gushphp/events{/privacy}","received_events_url":"https://api.github.com/users/gushphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gushphp/gush","description":"Project Maintenance & Contributing Automation","fork":false,"url":"https://api.github.com/repos/gushphp/gush","forks_url":"https://api.github.com/repos/gushphp/gush/forks","keys_url":"https://api.github.com/repos/gushphp/gush/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gushphp/gush/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gushphp/gush/teams","hooks_url":"https://api.github.com/repos/gushphp/gush/hooks","issue_events_url":"https://api.github.com/repos/gushphp/gush/issues/events{/number}","events_url":"https://api.github.com/repos/gushphp/gush/events","assignees_url":"https://api.github.com/repos/gushphp/gush/assignees{/user}","branches_url":"https://api.github.com/repos/gushphp/gush/branches{/branch}","tags_url":"https://api.github.com/repos/gushphp/gush/tags","blobs_url":"https://api.github.com/repos/gushphp/gush/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gushphp/gush/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gushphp/gush/git/refs{/sha}","trees_url":"https://api.github.com/repos/gushphp/gush/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gushphp/gush/statuses/{sha}","languages_url":"https://api.github.com/repos/gushphp/gush/languages","stargazers_url":"https://api.github.com/repos/gushphp/gush/stargazers","contributors_url":"https://api.github.com/repos/gushphp/gush/contributors","subscribers_url":"https://api.github.com/repos/gushphp/gush/subscribers","subscription_url":"https://api.github.com/repos/gushphp/gush/subscription","commits_url":"https://api.github.com/repos/gushphp/gush/commits{/sha}","git_commits_url":"https://api.github.com/repos/gushphp/gush/git/commits{/sha}","comments_url":"https://api.github.com/repos/gushphp/gush/comments{/number}","issue_comment_url":"https://api.github.com/repos/gushphp/gush/issues/comments{/number}","contents_url":"https://api.github.com/repos/gushphp/gush/contents/{+path}","compare_url":"https://api.github.com/repos/gushphp/gush/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gushphp/gush/merges","archive_url":"https://api.github.com/repos/gushphp/gush/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gushphp/gush/downloads","issues_url":"https://api.github.com/repos/gushphp/gush/issues{/number}","pulls_url":"https://api.github.com/repos/gushphp/gush/pulls{/number}","milestones_url":"https://api.github.com/repos/gushphp/gush/milestones{/number}","notifications_url":"https://api.github.com/repos/gushphp/gush/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gushphp/gush/labels{/name}","releases_url":"https://api.github.com/repos/gushphp/gush/releases{/id}","deployments_url":"https://api.github.com/repos/gushphp/gush/deployments","created_at":"2014-02-13T02:14:36Z","updated_at":"2016-06-04T11:45:44Z","pushed_at":"2016-06-05T20:18:23Z","git_url":"git://github.com/gushphp/gush.git","ssh_url":"git@github.com:gushphp/gush.git","clone_url":"https://github.com/gushphp/gush.git","svn_url":"https://github.com/gushphp/gush","homepage":"","size":4138,"stargazers_count":275,"watchers_count":275,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":44,"mirror_url":null,"open_issues_count":20,"forks":44,"open_issues":20,"watchers":275,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gushphp/gush/pulls/522"},"html":{"href":"https://github.com/gushphp/gush/pull/522"},"issue":{"href":"https://api.github.com/repos/gushphp/gush/issues/522"},"comments":{"href":"https://api.github.com/repos/gushphp/gush/issues/522/comments"},"review_comments":{"href":"https://api.github.com/repos/gushphp/gush/pulls/522/comments"},"review_comment":{"href":"https://api.github.com/repos/gushphp/gush/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gushphp/gush/pulls/522/commits"},"statuses":{"href":"https://api.github.com/repos/gushphp/gush/statuses/16dd494639f38227488d06a5de6b46876909599c"}}}}
{"actor":{"display_login":"cordoval"}}