{"action":"created","comment":{"url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/comments/38854444","id":38854444,"diff_hunk":"@@ -2,7 +2,7 @@\n \n namespace jarnaiz\\JUnitFormatter\\Formatter;\n \n-use Behat\\Testwork\\Tester\\Result\\TestResult;\n+use Behat\\Behat\\Tester\\Result\\StepResult as TestResult;","path":"src/Formatter/JUnitFormatter.php","position":5,"original_position":5,"commit_id":"934aee25c067cb30e7d5b75021d51c969fe116cd","original_commit_id":"934aee25c067cb30e7d5b75021d51c969fe116cd","user":{"login":"vidarl","id":289778,"avatar_url":"https://avatars.githubusercontent.com/u/289778?v=3","gravatar_id":"","url":"https://api.github.com/users/vidarl","html_url":"https://github.com/vidarl","followers_url":"https://api.github.com/users/vidarl/followers","following_url":"https://api.github.com/users/vidarl/following{/other_user}","gists_url":"https://api.github.com/users/vidarl/gists{/gist_id}","starred_url":"https://api.github.com/users/vidarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidarl/subscriptions","organizations_url":"https://api.github.com/users/vidarl/orgs","repos_url":"https://api.github.com/users/vidarl/repos","events_url":"https://api.github.com/users/vidarl/events{/privacy}","received_events_url":"https://api.github.com/users/vidarl/received_events","type":"User","site_admin":false},"body":"The UNDEFINED const is defined in StepResult","created_at":"2015-09-07T11:24:06Z","updated_at":"2015-09-07T11:24:06Z","html_url":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10#discussion_r38854444","pull_request_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/comments/38854444"},"html":{"href":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10#discussion_r38854444"},"pull_request":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10","id":44100802,"html_url":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10","diff_url":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10.diff","patch_url":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10.patch","issue_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/10","number":10,"state":"open","locked":false,"title":"Added support for dealing with undefined sentences","user":{"login":"vidarl","id":289778,"avatar_url":"https://avatars.githubusercontent.com/u/289778?v=3","gravatar_id":"","url":"https://api.github.com/users/vidarl","html_url":"https://github.com/vidarl","followers_url":"https://api.github.com/users/vidarl/followers","following_url":"https://api.github.com/users/vidarl/following{/other_user}","gists_url":"https://api.github.com/users/vidarl/gists{/gist_id}","starred_url":"https://api.github.com/users/vidarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidarl/subscriptions","organizations_url":"https://api.github.com/users/vidarl/orgs","repos_url":"https://api.github.com/users/vidarl/repos","events_url":"https://api.github.com/users/vidarl/events{/privacy}","received_events_url":"https://api.github.com/users/vidarl/received_events","type":"User","site_admin":false},"body":"Hi\r\n\r\nThis PR fixes issues with the junit formatter if it stumbles on a scenario with undefined sentences like:\r\n```PHP Notice:  Undefined offset: 30 in /var/www/vendor/jarnaiz/behat-junit-formatter/src/Formatter/JUnitFormatter.php on line 267```\r\n```PHP Notice:  Undefined offset: 30 in /var/www/vendor/jarnaiz/behat-junit-formatter/src/Formatter/JUnitFormatter.php on line 270```\r\n\r\n","created_at":"2015-09-03T12:31:37Z","updated_at":"2015-09-07T11:24:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c6a7532971f1612e96855859340474ebdce4d05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10/commits","review_comments_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10/comments","review_comment_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/10/comments","statuses_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/statuses/934aee25c067cb30e7d5b75021d51c969fe116cd","head":{"label":"vidarl:undefined_sentences","ref":"undefined_sentences","sha":"934aee25c067cb30e7d5b75021d51c969fe116cd","user":{"login":"vidarl","id":289778,"avatar_url":"https://avatars.githubusercontent.com/u/289778?v=3","gravatar_id":"","url":"https://api.github.com/users/vidarl","html_url":"https://github.com/vidarl","followers_url":"https://api.github.com/users/vidarl/followers","following_url":"https://api.github.com/users/vidarl/following{/other_user}","gists_url":"https://api.github.com/users/vidarl/gists{/gist_id}","starred_url":"https://api.github.com/users/vidarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidarl/subscriptions","organizations_url":"https://api.github.com/users/vidarl/orgs","repos_url":"https://api.github.com/users/vidarl/repos","events_url":"https://api.github.com/users/vidarl/events{/privacy}","received_events_url":"https://api.github.com/users/vidarl/received_events","type":"User","site_admin":false},"repo":{"id":41855346,"name":"behat-junit-formatter","full_name":"vidarl/behat-junit-formatter","owner":{"login":"vidarl","id":289778,"avatar_url":"https://avatars.githubusercontent.com/u/289778?v=3","gravatar_id":"","url":"https://api.github.com/users/vidarl","html_url":"https://github.com/vidarl","followers_url":"https://api.github.com/users/vidarl/followers","following_url":"https://api.github.com/users/vidarl/following{/other_user}","gists_url":"https://api.github.com/users/vidarl/gists{/gist_id}","starred_url":"https://api.github.com/users/vidarl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vidarl/subscriptions","organizations_url":"https://api.github.com/users/vidarl/orgs","repos_url":"https://api.github.com/users/vidarl/repos","events_url":"https://api.github.com/users/vidarl/events{/privacy}","received_events_url":"https://api.github.com/users/vidarl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vidarl/behat-junit-formatter","description":"Behat 3 JUnit xml formatter","fork":true,"url":"https://api.github.com/repos/vidarl/behat-junit-formatter","forks_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/forks","keys_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/teams","hooks_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/hooks","issue_events_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/issues/events{/number}","events_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/events","assignees_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/assignees{/user}","branches_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/branches{/branch}","tags_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/tags","blobs_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/git/refs{/sha}","trees_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/statuses/{sha}","languages_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/languages","stargazers_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/stargazers","contributors_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/contributors","subscribers_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/subscribers","subscription_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/subscription","commits_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/commits{/sha}","git_commits_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/git/commits{/sha}","comments_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/comments{/number}","issue_comment_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/issues/comments{/number}","contents_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/contents/{+path}","compare_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/merges","archive_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/downloads","issues_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/issues{/number}","pulls_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/pulls{/number}","milestones_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/milestones{/number}","notifications_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/labels{/name}","releases_url":"https://api.github.com/repos/vidarl/behat-junit-formatter/releases{/id}","created_at":"2015-09-03T11:01:48Z","updated_at":"2015-09-03T11:01:48Z","pushed_at":"2015-09-03T11:07:04Z","git_url":"git://github.com/vidarl/behat-junit-formatter.git","ssh_url":"git@github.com:vidarl/behat-junit-formatter.git","clone_url":"https://github.com/vidarl/behat-junit-formatter.git","svn_url":"https://github.com/vidarl/behat-junit-formatter","homepage":null,"size":194,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"j-arnaiz:master","ref":"master","sha":"cae6424ac0f5341967d446f2e2cdb9d3bef3fda3","user":{"login":"j-arnaiz","id":5159735,"avatar_url":"https://avatars.githubusercontent.com/u/5159735?v=3","gravatar_id":"","url":"https://api.github.com/users/j-arnaiz","html_url":"https://github.com/j-arnaiz","followers_url":"https://api.github.com/users/j-arnaiz/followers","following_url":"https://api.github.com/users/j-arnaiz/following{/other_user}","gists_url":"https://api.github.com/users/j-arnaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/j-arnaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-arnaiz/subscriptions","organizations_url":"https://api.github.com/users/j-arnaiz/orgs","repos_url":"https://api.github.com/users/j-arnaiz/repos","events_url":"https://api.github.com/users/j-arnaiz/events{/privacy}","received_events_url":"https://api.github.com/users/j-arnaiz/received_events","type":"User","site_admin":false},"repo":{"id":38539199,"name":"behat-junit-formatter","full_name":"j-arnaiz/behat-junit-formatter","owner":{"login":"j-arnaiz","id":5159735,"avatar_url":"https://avatars.githubusercontent.com/u/5159735?v=3","gravatar_id":"","url":"https://api.github.com/users/j-arnaiz","html_url":"https://github.com/j-arnaiz","followers_url":"https://api.github.com/users/j-arnaiz/followers","following_url":"https://api.github.com/users/j-arnaiz/following{/other_user}","gists_url":"https://api.github.com/users/j-arnaiz/gists{/gist_id}","starred_url":"https://api.github.com/users/j-arnaiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-arnaiz/subscriptions","organizations_url":"https://api.github.com/users/j-arnaiz/orgs","repos_url":"https://api.github.com/users/j-arnaiz/repos","events_url":"https://api.github.com/users/j-arnaiz/events{/privacy}","received_events_url":"https://api.github.com/users/j-arnaiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/j-arnaiz/behat-junit-formatter","description":"Behat 3 JUnit xml formatter","fork":false,"url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter","forks_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/forks","keys_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/teams","hooks_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/hooks","issue_events_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/events{/number}","events_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/events","assignees_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/assignees{/user}","branches_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/branches{/branch}","tags_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/tags","blobs_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/git/refs{/sha}","trees_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/statuses/{sha}","languages_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/languages","stargazers_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/stargazers","contributors_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/contributors","subscribers_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/subscribers","subscription_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/subscription","commits_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/commits{/sha}","git_commits_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/git/commits{/sha}","comments_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/comments{/number}","issue_comment_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/comments{/number}","contents_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/contents/{+path}","compare_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/merges","archive_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/downloads","issues_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues{/number}","pulls_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls{/number}","milestones_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/milestones{/number}","notifications_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/labels{/name}","releases_url":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/releases{/id}","created_at":"2015-07-04T15:54:40Z","updated_at":"2015-07-14T08:09:11Z","pushed_at":"2015-09-03T12:31:37Z","git_url":"git://github.com/j-arnaiz/behat-junit-formatter.git","ssh_url":"git@github.com:j-arnaiz/behat-junit-formatter.git","clone_url":"https://github.com/j-arnaiz/behat-junit-formatter.git","svn_url":"https://github.com/j-arnaiz/behat-junit-formatter","homepage":null,"size":194,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10"},"html":{"href":"https://github.com/j-arnaiz/behat-junit-formatter/pull/10"},"issue":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/10"},"comments":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/j-arnaiz/behat-junit-formatter/statuses/934aee25c067cb30e7d5b75021d51c969fe116cd"}}}}