{"action":"created","comment":{"url":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/31413915","id":31413915,"diff_hunk":"@@ -163,3 +163,51 @@ Feature: Developer uses throw matcher\n     \"\"\"\n     When I run phpspec\n     Then the suite should pass\n+\n+  @issue610\n+  Scenario: Throwing an exception during object construction\n+    Given the spec file \"spec/Runner/ThrowExample5/MarkdownSpec.php\" contains:\n+    \"\"\"","path":"features/matchers/developer_uses_throw_matcher.feature","position":8,"original_position":8,"commit_id":"c6c31805e492131713355ac17f5a04bf36729195","original_commit_id":"c6c31805e492131713355ac17f5a04bf36729195","user":{"login":"acasademont","id":825021,"avatar_url":"https://avatars.githubusercontent.com/u/825021?v=3","gravatar_id":"","url":"https://api.github.com/users/acasademont","html_url":"https://github.com/acasademont","followers_url":"https://api.github.com/users/acasademont/followers","following_url":"https://api.github.com/users/acasademont/following{/other_user}","gists_url":"https://api.github.com/users/acasademont/gists{/gist_id}","starred_url":"https://api.github.com/users/acasademont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasademont/subscriptions","organizations_url":"https://api.github.com/users/acasademont/orgs","repos_url":"https://api.github.com/users/acasademont/repos","events_url":"https://api.github.com/users/acasademont/events{/privacy}","received_events_url":"https://api.github.com/users/acasademont/received_events","type":"User","site_admin":false},"body":"sure!","created_at":"2015-06-01T10:18:37Z","updated_at":"2015-06-01T10:18:37Z","html_url":"https://github.com/phpspec/phpspec/pull/699#discussion_r31413915","pull_request_url":"https://api.github.com/repos/phpspec/phpspec/pulls/699","_links":{"self":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/comments/31413915"},"html":{"href":"https://github.com/phpspec/phpspec/pull/699#discussion_r31413915"},"pull_request":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/699"}}},"pull_request":{"url":"https://api.github.com/repos/phpspec/phpspec/pulls/699","id":34907330,"html_url":"https://github.com/phpspec/phpspec/pull/699","diff_url":"https://github.com/phpspec/phpspec/pull/699.diff","patch_url":"https://github.com/phpspec/phpspec/pull/699.patch","issue_url":"https://api.github.com/repos/phpspec/phpspec/issues/699","number":699,"state":"open","locked":false,"title":"close #610 Add new duringInstantiation() method for named constructs","user":{"login":"acasademont","id":825021,"avatar_url":"https://avatars.githubusercontent.com/u/825021?v=3","gravatar_id":"","url":"https://api.github.com/users/acasademont","html_url":"https://github.com/acasademont","followers_url":"https://api.github.com/users/acasademont/followers","following_url":"https://api.github.com/users/acasademont/following{/other_user}","gists_url":"https://api.github.com/users/acasademont/gists{/gist_id}","starred_url":"https://api.github.com/users/acasademont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasademont/subscriptions","organizations_url":"https://api.github.com/users/acasademont/orgs","repos_url":"https://api.github.com/users/acasademont/repos","events_url":"https://api.github.com/users/acasademont/events{/privacy}","received_events_url":"https://api.github.com/users/acasademont/received_events","type":"User","site_admin":false},"body":"As said in #610 this implements the a new `duringInstantiation()` method to allow checking for exceptions thrown during the construction of an object.","created_at":"2015-05-07T11:46:35Z","updated_at":"2015-06-01T10:18:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd44126593a42686251c540dd8a335f873a6afac","assignee":null,"milestone":{"url":"https://api.github.com/repos/phpspec/phpspec/milestones/9","html_url":"https://github.com/phpspec/phpspec/milestones/2.3","labels_url":"https://api.github.com/repos/phpspec/phpspec/milestones/9/labels","id":977541,"number":9,"title":"2.3","description":null,"creator":{"login":"ciaranmcnulty","id":237866,"avatar_url":"https://avatars.githubusercontent.com/u/237866?v=3","gravatar_id":"","url":"https://api.github.com/users/ciaranmcnulty","html_url":"https://github.com/ciaranmcnulty","followers_url":"https://api.github.com/users/ciaranmcnulty/followers","following_url":"https://api.github.com/users/ciaranmcnulty/following{/other_user}","gists_url":"https://api.github.com/users/ciaranmcnulty/gists{/gist_id}","starred_url":"https://api.github.com/users/ciaranmcnulty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciaranmcnulty/subscriptions","organizations_url":"https://api.github.com/users/ciaranmcnulty/orgs","repos_url":"https://api.github.com/users/ciaranmcnulty/repos","events_url":"https://api.github.com/users/ciaranmcnulty/events{/privacy}","received_events_url":"https://api.github.com/users/ciaranmcnulty/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2015-02-12T21:55:24Z","updated_at":"2015-05-31T08:29:36Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phpspec/phpspec/pulls/699/commits","review_comments_url":"https://api.github.com/repos/phpspec/phpspec/pulls/699/comments","review_comment_url":"https://api.github.com/repos/phpspec/phpspec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpspec/phpspec/issues/699/comments","statuses_url":"https://api.github.com/repos/phpspec/phpspec/statuses/c6c31805e492131713355ac17f5a04bf36729195","head":{"label":"acasademont:issue_610","ref":"issue_610","sha":"c6c31805e492131713355ac17f5a04bf36729195","user":{"login":"acasademont","id":825021,"avatar_url":"https://avatars.githubusercontent.com/u/825021?v=3","gravatar_id":"","url":"https://api.github.com/users/acasademont","html_url":"https://github.com/acasademont","followers_url":"https://api.github.com/users/acasademont/followers","following_url":"https://api.github.com/users/acasademont/following{/other_user}","gists_url":"https://api.github.com/users/acasademont/gists{/gist_id}","starred_url":"https://api.github.com/users/acasademont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasademont/subscriptions","organizations_url":"https://api.github.com/users/acasademont/orgs","repos_url":"https://api.github.com/users/acasademont/repos","events_url":"https://api.github.com/users/acasademont/events{/privacy}","received_events_url":"https://api.github.com/users/acasademont/received_events","type":"User","site_admin":false},"repo":{"id":35213358,"name":"phpspec","full_name":"acasademont/phpspec","owner":{"login":"acasademont","id":825021,"avatar_url":"https://avatars.githubusercontent.com/u/825021?v=3","gravatar_id":"","url":"https://api.github.com/users/acasademont","html_url":"https://github.com/acasademont","followers_url":"https://api.github.com/users/acasademont/followers","following_url":"https://api.github.com/users/acasademont/following{/other_user}","gists_url":"https://api.github.com/users/acasademont/gists{/gist_id}","starred_url":"https://api.github.com/users/acasademont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acasademont/subscriptions","organizations_url":"https://api.github.com/users/acasademont/orgs","repos_url":"https://api.github.com/users/acasademont/repos","events_url":"https://api.github.com/users/acasademont/events{/privacy}","received_events_url":"https://api.github.com/users/acasademont/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acasademont/phpspec","description":"SpecBDD Framework for PHP","fork":true,"url":"https://api.github.com/repos/acasademont/phpspec","forks_url":"https://api.github.com/repos/acasademont/phpspec/forks","keys_url":"https://api.github.com/repos/acasademont/phpspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acasademont/phpspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acasademont/phpspec/teams","hooks_url":"https://api.github.com/repos/acasademont/phpspec/hooks","issue_events_url":"https://api.github.com/repos/acasademont/phpspec/issues/events{/number}","events_url":"https://api.github.com/repos/acasademont/phpspec/events","assignees_url":"https://api.github.com/repos/acasademont/phpspec/assignees{/user}","branches_url":"https://api.github.com/repos/acasademont/phpspec/branches{/branch}","tags_url":"https://api.github.com/repos/acasademont/phpspec/tags","blobs_url":"https://api.github.com/repos/acasademont/phpspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acasademont/phpspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acasademont/phpspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/acasademont/phpspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acasademont/phpspec/statuses/{sha}","languages_url":"https://api.github.com/repos/acasademont/phpspec/languages","stargazers_url":"https://api.github.com/repos/acasademont/phpspec/stargazers","contributors_url":"https://api.github.com/repos/acasademont/phpspec/contributors","subscribers_url":"https://api.github.com/repos/acasademont/phpspec/subscribers","subscription_url":"https://api.github.com/repos/acasademont/phpspec/subscription","commits_url":"https://api.github.com/repos/acasademont/phpspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/acasademont/phpspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/acasademont/phpspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/acasademont/phpspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/acasademont/phpspec/contents/{+path}","compare_url":"https://api.github.com/repos/acasademont/phpspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acasademont/phpspec/merges","archive_url":"https://api.github.com/repos/acasademont/phpspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acasademont/phpspec/downloads","issues_url":"https://api.github.com/repos/acasademont/phpspec/issues{/number}","pulls_url":"https://api.github.com/repos/acasademont/phpspec/pulls{/number}","milestones_url":"https://api.github.com/repos/acasademont/phpspec/milestones{/number}","notifications_url":"https://api.github.com/repos/acasademont/phpspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acasademont/phpspec/labels{/name}","releases_url":"https://api.github.com/repos/acasademont/phpspec/releases{/id}","created_at":"2015-05-07T10:14:49Z","updated_at":"2015-05-07T10:14:50Z","pushed_at":"2015-05-07T11:44:14Z","git_url":"git://github.com/acasademont/phpspec.git","ssh_url":"git@github.com:acasademont/phpspec.git","clone_url":"https://github.com/acasademont/phpspec.git","svn_url":"https://github.com/acasademont/phpspec","homepage":"http://www.phpspec.net","size":3168,"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":"phpspec:master","ref":"master","sha":"73d0335bf8473be8bcfab5a9d66adce8d0db3857","user":{"login":"phpspec","id":416702,"avatar_url":"https://avatars.githubusercontent.com/u/416702?v=3","gravatar_id":"","url":"https://api.github.com/users/phpspec","html_url":"https://github.com/phpspec","followers_url":"https://api.github.com/users/phpspec/followers","following_url":"https://api.github.com/users/phpspec/following{/other_user}","gists_url":"https://api.github.com/users/phpspec/gists{/gist_id}","starred_url":"https://api.github.com/users/phpspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpspec/subscriptions","organizations_url":"https://api.github.com/users/phpspec/orgs","repos_url":"https://api.github.com/users/phpspec/repos","events_url":"https://api.github.com/users/phpspec/events{/privacy}","received_events_url":"https://api.github.com/users/phpspec/received_events","type":"Organization","site_admin":false},"repo":{"id":1582219,"name":"phpspec","full_name":"phpspec/phpspec","owner":{"login":"phpspec","id":416702,"avatar_url":"https://avatars.githubusercontent.com/u/416702?v=3","gravatar_id":"","url":"https://api.github.com/users/phpspec","html_url":"https://github.com/phpspec","followers_url":"https://api.github.com/users/phpspec/followers","following_url":"https://api.github.com/users/phpspec/following{/other_user}","gists_url":"https://api.github.com/users/phpspec/gists{/gist_id}","starred_url":"https://api.github.com/users/phpspec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpspec/subscriptions","organizations_url":"https://api.github.com/users/phpspec/orgs","repos_url":"https://api.github.com/users/phpspec/repos","events_url":"https://api.github.com/users/phpspec/events{/privacy}","received_events_url":"https://api.github.com/users/phpspec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpspec/phpspec","description":"SpecBDD Framework for PHP","fork":false,"url":"https://api.github.com/repos/phpspec/phpspec","forks_url":"https://api.github.com/repos/phpspec/phpspec/forks","keys_url":"https://api.github.com/repos/phpspec/phpspec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpspec/phpspec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpspec/phpspec/teams","hooks_url":"https://api.github.com/repos/phpspec/phpspec/hooks","issue_events_url":"https://api.github.com/repos/phpspec/phpspec/issues/events{/number}","events_url":"https://api.github.com/repos/phpspec/phpspec/events","assignees_url":"https://api.github.com/repos/phpspec/phpspec/assignees{/user}","branches_url":"https://api.github.com/repos/phpspec/phpspec/branches{/branch}","tags_url":"https://api.github.com/repos/phpspec/phpspec/tags","blobs_url":"https://api.github.com/repos/phpspec/phpspec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpspec/phpspec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpspec/phpspec/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpspec/phpspec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpspec/phpspec/statuses/{sha}","languages_url":"https://api.github.com/repos/phpspec/phpspec/languages","stargazers_url":"https://api.github.com/repos/phpspec/phpspec/stargazers","contributors_url":"https://api.github.com/repos/phpspec/phpspec/contributors","subscribers_url":"https://api.github.com/repos/phpspec/phpspec/subscribers","subscription_url":"https://api.github.com/repos/phpspec/phpspec/subscription","commits_url":"https://api.github.com/repos/phpspec/phpspec/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpspec/phpspec/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpspec/phpspec/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpspec/phpspec/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpspec/phpspec/contents/{+path}","compare_url":"https://api.github.com/repos/phpspec/phpspec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpspec/phpspec/merges","archive_url":"https://api.github.com/repos/phpspec/phpspec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpspec/phpspec/downloads","issues_url":"https://api.github.com/repos/phpspec/phpspec/issues{/number}","pulls_url":"https://api.github.com/repos/phpspec/phpspec/pulls{/number}","milestones_url":"https://api.github.com/repos/phpspec/phpspec/milestones{/number}","notifications_url":"https://api.github.com/repos/phpspec/phpspec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpspec/phpspec/labels{/name}","releases_url":"https://api.github.com/repos/phpspec/phpspec/releases{/id}","created_at":"2011-04-07T12:48:08Z","updated_at":"2015-06-01T08:32:48Z","pushed_at":"2015-05-31T08:31:11Z","git_url":"git://github.com/phpspec/phpspec.git","ssh_url":"git@github.com:phpspec/phpspec.git","clone_url":"https://github.com/phpspec/phpspec.git","svn_url":"https://github.com/phpspec/phpspec","homepage":"http://www.phpspec.net","size":7168,"stargazers_count":781,"watchers_count":781,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":156,"mirror_url":null,"open_issues_count":67,"forks":156,"open_issues":67,"watchers":781,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/699"},"html":{"href":"https://github.com/phpspec/phpspec/pull/699"},"issue":{"href":"https://api.github.com/repos/phpspec/phpspec/issues/699"},"comments":{"href":"https://api.github.com/repos/phpspec/phpspec/issues/699/comments"},"review_comments":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/699/comments"},"review_comment":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpspec/phpspec/pulls/699/commits"},"statuses":{"href":"https://api.github.com/repos/phpspec/phpspec/statuses/c6c31805e492131713355ac17f5a04bf36729195"}}}}