{"action":"opened","number":100,"pull_request":{"url":"https://api.github.com/repos/Behat/Gherkin/pulls/100","id":54102760,"html_url":"https://github.com/Behat/Gherkin/pull/100","diff_url":"https://github.com/Behat/Gherkin/pull/100.diff","patch_url":"https://github.com/Behat/Gherkin/pull/100.patch","issue_url":"https://api.github.com/repos/Behat/Gherkin/issues/100","number":100,"state":"open","locked":false,"title":"Add a reference to OutlineNode for ExampleNode","user":{"login":"higrow","id":281399,"avatar_url":"https://avatars.githubusercontent.com/u/281399?v=3","gravatar_id":"","url":"https://api.github.com/users/higrow","html_url":"https://github.com/higrow","followers_url":"https://api.github.com/users/higrow/followers","following_url":"https://api.github.com/users/higrow/following{/other_user}","gists_url":"https://api.github.com/users/higrow/gists{/gist_id}","starred_url":"https://api.github.com/users/higrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higrow/subscriptions","organizations_url":"https://api.github.com/users/higrow/orgs","repos_url":"https://api.github.com/users/higrow/repos","events_url":"https://api.github.com/users/higrow/events{/privacy}","received_events_url":"https://api.github.com/users/higrow/received_events","type":"User","site_admin":false},"body":"It is currently not possible to get the ScenarioOutline from an ExampleNode (like in a Scenario Hook)\r\n\r\nThis change adds a reference to the OutlineNode into the ExampleNode so there is a possibility to get the ScenarioOutline if it is needed so you could to this:\r\n\r\n```php\r\npublic function afterScenario(AfterScenarioScope $scope)\r\n    {\r\n        if ($scope->getScenario() instanceof ExampleNode) {\r\n            $title = $scope->getScenario()->getOutline()->getTitle();\r\n        }\r\n    }\r\n```\r\n\r\nthere is a issue with the same basic requirements here, however with another approach: behat/behat#780","created_at":"2015-12-18T13:34:16Z","updated_at":"2015-12-18T13:34:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Behat/Gherkin/pulls/100/commits","review_comments_url":"https://api.github.com/repos/Behat/Gherkin/pulls/100/comments","review_comment_url":"https://api.github.com/repos/Behat/Gherkin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Behat/Gherkin/issues/100/comments","statuses_url":"https://api.github.com/repos/Behat/Gherkin/statuses/aac6699c6257d82b8a43f841fb2d630e8be7cf01","head":{"label":"higrow:master","ref":"master","sha":"aac6699c6257d82b8a43f841fb2d630e8be7cf01","user":{"login":"higrow","id":281399,"avatar_url":"https://avatars.githubusercontent.com/u/281399?v=3","gravatar_id":"","url":"https://api.github.com/users/higrow","html_url":"https://github.com/higrow","followers_url":"https://api.github.com/users/higrow/followers","following_url":"https://api.github.com/users/higrow/following{/other_user}","gists_url":"https://api.github.com/users/higrow/gists{/gist_id}","starred_url":"https://api.github.com/users/higrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higrow/subscriptions","organizations_url":"https://api.github.com/users/higrow/orgs","repos_url":"https://api.github.com/users/higrow/repos","events_url":"https://api.github.com/users/higrow/events{/privacy}","received_events_url":"https://api.github.com/users/higrow/received_events","type":"User","site_admin":false},"repo":{"id":48235547,"name":"Gherkin","full_name":"higrow/Gherkin","owner":{"login":"higrow","id":281399,"avatar_url":"https://avatars.githubusercontent.com/u/281399?v=3","gravatar_id":"","url":"https://api.github.com/users/higrow","html_url":"https://github.com/higrow","followers_url":"https://api.github.com/users/higrow/followers","following_url":"https://api.github.com/users/higrow/following{/other_user}","gists_url":"https://api.github.com/users/higrow/gists{/gist_id}","starred_url":"https://api.github.com/users/higrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/higrow/subscriptions","organizations_url":"https://api.github.com/users/higrow/orgs","repos_url":"https://api.github.com/users/higrow/repos","events_url":"https://api.github.com/users/higrow/events{/privacy}","received_events_url":"https://api.github.com/users/higrow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/higrow/Gherkin","description":"Gherkin parser, written in PHP 5.3+ for Behat project","fork":true,"url":"https://api.github.com/repos/higrow/Gherkin","forks_url":"https://api.github.com/repos/higrow/Gherkin/forks","keys_url":"https://api.github.com/repos/higrow/Gherkin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/higrow/Gherkin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/higrow/Gherkin/teams","hooks_url":"https://api.github.com/repos/higrow/Gherkin/hooks","issue_events_url":"https://api.github.com/repos/higrow/Gherkin/issues/events{/number}","events_url":"https://api.github.com/repos/higrow/Gherkin/events","assignees_url":"https://api.github.com/repos/higrow/Gherkin/assignees{/user}","branches_url":"https://api.github.com/repos/higrow/Gherkin/branches{/branch}","tags_url":"https://api.github.com/repos/higrow/Gherkin/tags","blobs_url":"https://api.github.com/repos/higrow/Gherkin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/higrow/Gherkin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/higrow/Gherkin/git/refs{/sha}","trees_url":"https://api.github.com/repos/higrow/Gherkin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/higrow/Gherkin/statuses/{sha}","languages_url":"https://api.github.com/repos/higrow/Gherkin/languages","stargazers_url":"https://api.github.com/repos/higrow/Gherkin/stargazers","contributors_url":"https://api.github.com/repos/higrow/Gherkin/contributors","subscribers_url":"https://api.github.com/repos/higrow/Gherkin/subscribers","subscription_url":"https://api.github.com/repos/higrow/Gherkin/subscription","commits_url":"https://api.github.com/repos/higrow/Gherkin/commits{/sha}","git_commits_url":"https://api.github.com/repos/higrow/Gherkin/git/commits{/sha}","comments_url":"https://api.github.com/repos/higrow/Gherkin/comments{/number}","issue_comment_url":"https://api.github.com/repos/higrow/Gherkin/issues/comments{/number}","contents_url":"https://api.github.com/repos/higrow/Gherkin/contents/{+path}","compare_url":"https://api.github.com/repos/higrow/Gherkin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/higrow/Gherkin/merges","archive_url":"https://api.github.com/repos/higrow/Gherkin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/higrow/Gherkin/downloads","issues_url":"https://api.github.com/repos/higrow/Gherkin/issues{/number}","pulls_url":"https://api.github.com/repos/higrow/Gherkin/pulls{/number}","milestones_url":"https://api.github.com/repos/higrow/Gherkin/milestones{/number}","notifications_url":"https://api.github.com/repos/higrow/Gherkin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/higrow/Gherkin/labels{/name}","releases_url":"https://api.github.com/repos/higrow/Gherkin/releases{/id}","created_at":"2015-12-18T12:59:28Z","updated_at":"2015-12-18T12:59:29Z","pushed_at":"2015-12-18T13:11:29Z","git_url":"git://github.com/higrow/Gherkin.git","ssh_url":"git@github.com:higrow/Gherkin.git","clone_url":"https://github.com/higrow/Gherkin.git","svn_url":"https://github.com/higrow/Gherkin","homepage":"","size":622,"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":"Behat:master","ref":"master","sha":"6cc874d262e841439651374012c95d62736c2cbb","user":{"login":"Behat","id":547869,"avatar_url":"https://avatars.githubusercontent.com/u/547869?v=3","gravatar_id":"","url":"https://api.github.com/users/Behat","html_url":"https://github.com/Behat","followers_url":"https://api.github.com/users/Behat/followers","following_url":"https://api.github.com/users/Behat/following{/other_user}","gists_url":"https://api.github.com/users/Behat/gists{/gist_id}","starred_url":"https://api.github.com/users/Behat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Behat/subscriptions","organizations_url":"https://api.github.com/users/Behat/orgs","repos_url":"https://api.github.com/users/Behat/repos","events_url":"https://api.github.com/users/Behat/events{/privacy}","received_events_url":"https://api.github.com/users/Behat/received_events","type":"Organization","site_admin":false},"repo":{"id":1221384,"name":"Gherkin","full_name":"Behat/Gherkin","owner":{"login":"Behat","id":547869,"avatar_url":"https://avatars.githubusercontent.com/u/547869?v=3","gravatar_id":"","url":"https://api.github.com/users/Behat","html_url":"https://github.com/Behat","followers_url":"https://api.github.com/users/Behat/followers","following_url":"https://api.github.com/users/Behat/following{/other_user}","gists_url":"https://api.github.com/users/Behat/gists{/gist_id}","starred_url":"https://api.github.com/users/Behat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Behat/subscriptions","organizations_url":"https://api.github.com/users/Behat/orgs","repos_url":"https://api.github.com/users/Behat/repos","events_url":"https://api.github.com/users/Behat/events{/privacy}","received_events_url":"https://api.github.com/users/Behat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Behat/Gherkin","description":"Gherkin parser, written in PHP 5.3+ for Behat project","fork":false,"url":"https://api.github.com/repos/Behat/Gherkin","forks_url":"https://api.github.com/repos/Behat/Gherkin/forks","keys_url":"https://api.github.com/repos/Behat/Gherkin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Behat/Gherkin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Behat/Gherkin/teams","hooks_url":"https://api.github.com/repos/Behat/Gherkin/hooks","issue_events_url":"https://api.github.com/repos/Behat/Gherkin/issues/events{/number}","events_url":"https://api.github.com/repos/Behat/Gherkin/events","assignees_url":"https://api.github.com/repos/Behat/Gherkin/assignees{/user}","branches_url":"https://api.github.com/repos/Behat/Gherkin/branches{/branch}","tags_url":"https://api.github.com/repos/Behat/Gherkin/tags","blobs_url":"https://api.github.com/repos/Behat/Gherkin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Behat/Gherkin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Behat/Gherkin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Behat/Gherkin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Behat/Gherkin/statuses/{sha}","languages_url":"https://api.github.com/repos/Behat/Gherkin/languages","stargazers_url":"https://api.github.com/repos/Behat/Gherkin/stargazers","contributors_url":"https://api.github.com/repos/Behat/Gherkin/contributors","subscribers_url":"https://api.github.com/repos/Behat/Gherkin/subscribers","subscription_url":"https://api.github.com/repos/Behat/Gherkin/subscription","commits_url":"https://api.github.com/repos/Behat/Gherkin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Behat/Gherkin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Behat/Gherkin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Behat/Gherkin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Behat/Gherkin/contents/{+path}","compare_url":"https://api.github.com/repos/Behat/Gherkin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Behat/Gherkin/merges","archive_url":"https://api.github.com/repos/Behat/Gherkin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Behat/Gherkin/downloads","issues_url":"https://api.github.com/repos/Behat/Gherkin/issues{/number}","pulls_url":"https://api.github.com/repos/Behat/Gherkin/pulls{/number}","milestones_url":"https://api.github.com/repos/Behat/Gherkin/milestones{/number}","notifications_url":"https://api.github.com/repos/Behat/Gherkin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Behat/Gherkin/labels{/name}","releases_url":"https://api.github.com/repos/Behat/Gherkin/releases{/id}","created_at":"2011-01-05T00:38:11Z","updated_at":"2015-12-18T00:22:13Z","pushed_at":"2015-11-23T12:58:05Z","git_url":"git://github.com/Behat/Gherkin.git","ssh_url":"git@github.com:Behat/Gherkin.git","clone_url":"https://github.com/Behat/Gherkin.git","svn_url":"https://github.com/Behat/Gherkin","homepage":"","size":696,"stargazers_count":102,"watchers_count":102,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":6,"forks":51,"open_issues":6,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Behat/Gherkin/pulls/100"},"html":{"href":"https://github.com/Behat/Gherkin/pull/100"},"issue":{"href":"https://api.github.com/repos/Behat/Gherkin/issues/100"},"comments":{"href":"https://api.github.com/repos/Behat/Gherkin/issues/100/comments"},"review_comments":{"href":"https://api.github.com/repos/Behat/Gherkin/pulls/100/comments"},"review_comment":{"href":"https://api.github.com/repos/Behat/Gherkin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Behat/Gherkin/pulls/100/commits"},"statuses":{"href":"https://api.github.com/repos/Behat/Gherkin/statuses/aac6699c6257d82b8a43f841fb2d630e8be7cf01"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":48,"deletions":7,"changed_files":3}}