{"action":"created","comment":{"url":"https://api.github.com/repos/sebastianbergmann/version/pulls/comments/25191569","id":25191569,"diff_hunk":"@@ -74,6 +74,7 @@ private function getGitInformation($path)\n \n         $dir = getcwd();\n         chdir($path);\n+        $returnCode = 1;","path":"src/Version.php","position":4,"original_position":4,"commit_id":"dcfc4437b9879b963a0f47227f1852d8c2dd064a","original_commit_id":"dcfc4437b9879b963a0f47227f1852d8c2dd064a","user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"body":"nvm....","created_at":"2015-02-23T19:10:14Z","updated_at":"2015-02-23T19:10:14Z","html_url":"https://github.com/sebastianbergmann/version/pull/11#discussion_r25191569","pull_request_url":"https://api.github.com/repos/sebastianbergmann/version/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/comments/25191569"},"html":{"href":"https://github.com/sebastianbergmann/version/pull/11#discussion_r25191569"},"pull_request":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/sebastianbergmann/version/pulls/11","id":29833471,"html_url":"https://github.com/sebastianbergmann/version/pull/11","diff_url":"https://github.com/sebastianbergmann/version/pull/11.diff","patch_url":"https://github.com/sebastianbergmann/version/pull/11.patch","issue_url":"https://api.github.com/repos/sebastianbergmann/version/issues/11","number":11,"state":"open","locked":false,"title":"Updated Version::getGitInformation(), fixed undefined returnCode on exec() fail","user":{"login":"bacinsky","id":3078875,"avatar_url":"https://avatars.githubusercontent.com/u/3078875?v=3","gravatar_id":"","url":"https://api.github.com/users/bacinsky","html_url":"https://github.com/bacinsky","followers_url":"https://api.github.com/users/bacinsky/followers","following_url":"https://api.github.com/users/bacinsky/following{/other_user}","gists_url":"https://api.github.com/users/bacinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bacinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacinsky/subscriptions","organizations_url":"https://api.github.com/users/bacinsky/orgs","repos_url":"https://api.github.com/users/bacinsky/repos","events_url":"https://api.github.com/users/bacinsky/events{/privacy}","received_events_url":"https://api.github.com/users/bacinsky/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-23T18:38:31Z","updated_at":"2015-02-23T19:10:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a43d815fe1f7f9166289e60249da8a3518332d4d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sebastianbergmann/version/pulls/11/commits","review_comments_url":"https://api.github.com/repos/sebastianbergmann/version/pulls/11/comments","review_comment_url":"https://api.github.com/repos/sebastianbergmann/version/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sebastianbergmann/version/issues/11/comments","statuses_url":"https://api.github.com/repos/sebastianbergmann/version/statuses/dcfc4437b9879b963a0f47227f1852d8c2dd064a","head":{"label":"bacinsky:hotfix/undefined_returncode","ref":"hotfix/undefined_returncode","sha":"dcfc4437b9879b963a0f47227f1852d8c2dd064a","user":{"login":"bacinsky","id":3078875,"avatar_url":"https://avatars.githubusercontent.com/u/3078875?v=3","gravatar_id":"","url":"https://api.github.com/users/bacinsky","html_url":"https://github.com/bacinsky","followers_url":"https://api.github.com/users/bacinsky/followers","following_url":"https://api.github.com/users/bacinsky/following{/other_user}","gists_url":"https://api.github.com/users/bacinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bacinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacinsky/subscriptions","organizations_url":"https://api.github.com/users/bacinsky/orgs","repos_url":"https://api.github.com/users/bacinsky/repos","events_url":"https://api.github.com/users/bacinsky/events{/privacy}","received_events_url":"https://api.github.com/users/bacinsky/received_events","type":"User","site_admin":false},"repo":{"id":31213964,"name":"version","full_name":"bacinsky/version","owner":{"login":"bacinsky","id":3078875,"avatar_url":"https://avatars.githubusercontent.com/u/3078875?v=3","gravatar_id":"","url":"https://api.github.com/users/bacinsky","html_url":"https://github.com/bacinsky","followers_url":"https://api.github.com/users/bacinsky/followers","following_url":"https://api.github.com/users/bacinsky/following{/other_user}","gists_url":"https://api.github.com/users/bacinsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bacinsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bacinsky/subscriptions","organizations_url":"https://api.github.com/users/bacinsky/orgs","repos_url":"https://api.github.com/users/bacinsky/repos","events_url":"https://api.github.com/users/bacinsky/events{/privacy}","received_events_url":"https://api.github.com/users/bacinsky/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bacinsky/version","description":"Library that helps with managing the version number of Git-hosted PHP projects","fork":true,"url":"https://api.github.com/repos/bacinsky/version","forks_url":"https://api.github.com/repos/bacinsky/version/forks","keys_url":"https://api.github.com/repos/bacinsky/version/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bacinsky/version/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bacinsky/version/teams","hooks_url":"https://api.github.com/repos/bacinsky/version/hooks","issue_events_url":"https://api.github.com/repos/bacinsky/version/issues/events{/number}","events_url":"https://api.github.com/repos/bacinsky/version/events","assignees_url":"https://api.github.com/repos/bacinsky/version/assignees{/user}","branches_url":"https://api.github.com/repos/bacinsky/version/branches{/branch}","tags_url":"https://api.github.com/repos/bacinsky/version/tags","blobs_url":"https://api.github.com/repos/bacinsky/version/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bacinsky/version/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bacinsky/version/git/refs{/sha}","trees_url":"https://api.github.com/repos/bacinsky/version/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bacinsky/version/statuses/{sha}","languages_url":"https://api.github.com/repos/bacinsky/version/languages","stargazers_url":"https://api.github.com/repos/bacinsky/version/stargazers","contributors_url":"https://api.github.com/repos/bacinsky/version/contributors","subscribers_url":"https://api.github.com/repos/bacinsky/version/subscribers","subscription_url":"https://api.github.com/repos/bacinsky/version/subscription","commits_url":"https://api.github.com/repos/bacinsky/version/commits{/sha}","git_commits_url":"https://api.github.com/repos/bacinsky/version/git/commits{/sha}","comments_url":"https://api.github.com/repos/bacinsky/version/comments{/number}","issue_comment_url":"https://api.github.com/repos/bacinsky/version/issues/comments{/number}","contents_url":"https://api.github.com/repos/bacinsky/version/contents/{+path}","compare_url":"https://api.github.com/repos/bacinsky/version/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bacinsky/version/merges","archive_url":"https://api.github.com/repos/bacinsky/version/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bacinsky/version/downloads","issues_url":"https://api.github.com/repos/bacinsky/version/issues{/number}","pulls_url":"https://api.github.com/repos/bacinsky/version/pulls{/number}","milestones_url":"https://api.github.com/repos/bacinsky/version/milestones{/number}","notifications_url":"https://api.github.com/repos/bacinsky/version/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bacinsky/version/labels{/name}","releases_url":"https://api.github.com/repos/bacinsky/version/releases{/id}","created_at":"2015-02-23T15:27:24Z","updated_at":"2015-02-23T15:27:25Z","pushed_at":"2015-02-23T18:45:59Z","git_url":"git://github.com/bacinsky/version.git","ssh_url":"git@github.com:bacinsky/version.git","clone_url":"https://github.com/bacinsky/version.git","svn_url":"https://github.com/bacinsky/version","homepage":null,"size":113,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"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":"sebastianbergmann:master","ref":"master","sha":"68755621f21d37a6eaafefe5bbf73bdc4db3dee7","user":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars.githubusercontent.com/u/25218?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"repo":{"id":7456035,"name":"version","full_name":"sebastianbergmann/version","owner":{"login":"sebastianbergmann","id":25218,"avatar_url":"https://avatars.githubusercontent.com/u/25218?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbergmann","html_url":"https://github.com/sebastianbergmann","followers_url":"https://api.github.com/users/sebastianbergmann/followers","following_url":"https://api.github.com/users/sebastianbergmann/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbergmann/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbergmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbergmann/subscriptions","organizations_url":"https://api.github.com/users/sebastianbergmann/orgs","repos_url":"https://api.github.com/users/sebastianbergmann/repos","events_url":"https://api.github.com/users/sebastianbergmann/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbergmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sebastianbergmann/version","description":"Library that helps with managing the version number of Git-hosted PHP projects","fork":false,"url":"https://api.github.com/repos/sebastianbergmann/version","forks_url":"https://api.github.com/repos/sebastianbergmann/version/forks","keys_url":"https://api.github.com/repos/sebastianbergmann/version/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sebastianbergmann/version/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sebastianbergmann/version/teams","hooks_url":"https://api.github.com/repos/sebastianbergmann/version/hooks","issue_events_url":"https://api.github.com/repos/sebastianbergmann/version/issues/events{/number}","events_url":"https://api.github.com/repos/sebastianbergmann/version/events","assignees_url":"https://api.github.com/repos/sebastianbergmann/version/assignees{/user}","branches_url":"https://api.github.com/repos/sebastianbergmann/version/branches{/branch}","tags_url":"https://api.github.com/repos/sebastianbergmann/version/tags","blobs_url":"https://api.github.com/repos/sebastianbergmann/version/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sebastianbergmann/version/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sebastianbergmann/version/git/refs{/sha}","trees_url":"https://api.github.com/repos/sebastianbergmann/version/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sebastianbergmann/version/statuses/{sha}","languages_url":"https://api.github.com/repos/sebastianbergmann/version/languages","stargazers_url":"https://api.github.com/repos/sebastianbergmann/version/stargazers","contributors_url":"https://api.github.com/repos/sebastianbergmann/version/contributors","subscribers_url":"https://api.github.com/repos/sebastianbergmann/version/subscribers","subscription_url":"https://api.github.com/repos/sebastianbergmann/version/subscription","commits_url":"https://api.github.com/repos/sebastianbergmann/version/commits{/sha}","git_commits_url":"https://api.github.com/repos/sebastianbergmann/version/git/commits{/sha}","comments_url":"https://api.github.com/repos/sebastianbergmann/version/comments{/number}","issue_comment_url":"https://api.github.com/repos/sebastianbergmann/version/issues/comments{/number}","contents_url":"https://api.github.com/repos/sebastianbergmann/version/contents/{+path}","compare_url":"https://api.github.com/repos/sebastianbergmann/version/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sebastianbergmann/version/merges","archive_url":"https://api.github.com/repos/sebastianbergmann/version/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sebastianbergmann/version/downloads","issues_url":"https://api.github.com/repos/sebastianbergmann/version/issues{/number}","pulls_url":"https://api.github.com/repos/sebastianbergmann/version/pulls{/number}","milestones_url":"https://api.github.com/repos/sebastianbergmann/version/milestones{/number}","notifications_url":"https://api.github.com/repos/sebastianbergmann/version/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sebastianbergmann/version/labels{/name}","releases_url":"https://api.github.com/repos/sebastianbergmann/version/releases{/id}","created_at":"2013-01-05T14:17:33Z","updated_at":"2015-02-23T18:40:54Z","pushed_at":"2015-01-01T09:42:12Z","git_url":"git://github.com/sebastianbergmann/version.git","ssh_url":"git@github.com:sebastianbergmann/version.git","clone_url":"https://github.com/sebastianbergmann/version.git","svn_url":"https://github.com/sebastianbergmann/version","homepage":null,"size":209,"stargazers_count":42,"watchers_count":42,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":1,"forks":6,"open_issues":1,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/11"},"html":{"href":"https://github.com/sebastianbergmann/version/pull/11"},"issue":{"href":"https://api.github.com/repos/sebastianbergmann/version/issues/11"},"comments":{"href":"https://api.github.com/repos/sebastianbergmann/version/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sebastianbergmann/version/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/sebastianbergmann/version/statuses/dcfc4437b9879b963a0f47227f1852d8c2dd064a"}}}}