{"action":"closed","number":10,"pull_request":{"url":"https://api.github.com/repos/guzzle/promises/pulls/10","id":47828619,"html_url":"https://github.com/guzzle/promises/pull/10","diff_url":"https://github.com/guzzle/promises/pull/10.diff","patch_url":"https://github.com/guzzle/promises/pull/10.patch","issue_url":"https://api.github.com/repos/guzzle/promises/issues/10","number":10,"state":"closed","locked":false,"title":"Immediately resolve each promises that are passed an empty iterator","user":{"login":"jeskew","id":705500,"avatar_url":"https://avatars.githubusercontent.com/u/705500?v=3","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"body":"Currently, creating an instance of `EachPromise` with an empty iterator will cause a `RejectionException` to be thrown with the following message: \"The promise was rejected with reason: Invoking the wait callback did not resolve the promise.\" This PR changes that behavior so that such promises are simply resolved as no-ops.","created_at":"2015-10-15T19:11:19Z","updated_at":"2015-10-15T20:01:21Z","closed_at":"2015-10-15T20:01:21Z","merged_at":"2015-10-15T20:01:21Z","merge_commit_sha":"490c72c8111d175020b0651a68debe9ccb2c4b57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guzzle/promises/pulls/10/commits","review_comments_url":"https://api.github.com/repos/guzzle/promises/pulls/10/comments","review_comment_url":"https://api.github.com/repos/guzzle/promises/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guzzle/promises/issues/10/comments","statuses_url":"https://api.github.com/repos/guzzle/promises/statuses/4cdb3fb161cf740f3ff13aa9e3d1085e85b729a1","head":{"label":"jeskew:fix/resolve-empty-each-promises","ref":"fix/resolve-empty-each-promises","sha":"4cdb3fb161cf740f3ff13aa9e3d1085e85b729a1","user":{"login":"jeskew","id":705500,"avatar_url":"https://avatars.githubusercontent.com/u/705500?v=3","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"repo":{"id":44334692,"name":"promises","full_name":"jeskew/promises","owner":{"login":"jeskew","id":705500,"avatar_url":"https://avatars.githubusercontent.com/u/705500?v=3","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeskew/promises","description":"Promises/A+ library for PHP with synchronous support","fork":true,"url":"https://api.github.com/repos/jeskew/promises","forks_url":"https://api.github.com/repos/jeskew/promises/forks","keys_url":"https://api.github.com/repos/jeskew/promises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeskew/promises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeskew/promises/teams","hooks_url":"https://api.github.com/repos/jeskew/promises/hooks","issue_events_url":"https://api.github.com/repos/jeskew/promises/issues/events{/number}","events_url":"https://api.github.com/repos/jeskew/promises/events","assignees_url":"https://api.github.com/repos/jeskew/promises/assignees{/user}","branches_url":"https://api.github.com/repos/jeskew/promises/branches{/branch}","tags_url":"https://api.github.com/repos/jeskew/promises/tags","blobs_url":"https://api.github.com/repos/jeskew/promises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeskew/promises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeskew/promises/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeskew/promises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeskew/promises/statuses/{sha}","languages_url":"https://api.github.com/repos/jeskew/promises/languages","stargazers_url":"https://api.github.com/repos/jeskew/promises/stargazers","contributors_url":"https://api.github.com/repos/jeskew/promises/contributors","subscribers_url":"https://api.github.com/repos/jeskew/promises/subscribers","subscription_url":"https://api.github.com/repos/jeskew/promises/subscription","commits_url":"https://api.github.com/repos/jeskew/promises/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeskew/promises/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeskew/promises/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeskew/promises/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeskew/promises/contents/{+path}","compare_url":"https://api.github.com/repos/jeskew/promises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeskew/promises/merges","archive_url":"https://api.github.com/repos/jeskew/promises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeskew/promises/downloads","issues_url":"https://api.github.com/repos/jeskew/promises/issues{/number}","pulls_url":"https://api.github.com/repos/jeskew/promises/pulls{/number}","milestones_url":"https://api.github.com/repos/jeskew/promises/milestones{/number}","notifications_url":"https://api.github.com/repos/jeskew/promises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeskew/promises/labels{/name}","releases_url":"https://api.github.com/repos/jeskew/promises/releases{/id}","created_at":"2015-10-15T17:41:21Z","updated_at":"2015-10-15T17:41:22Z","pushed_at":"2015-10-15T19:42:58Z","git_url":"git://github.com/jeskew/promises.git","ssh_url":"git@github.com:jeskew/promises.git","clone_url":"https://github.com/jeskew/promises.git","svn_url":"https://github.com/jeskew/promises","homepage":"","size":216,"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":"guzzle:master","ref":"master","sha":"97fe7210def29451ec74923b27e552238defd75a","user":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"repo":{"id":31295389,"name":"promises","full_name":"guzzle/promises","owner":{"login":"guzzle","id":638632,"avatar_url":"https://avatars.githubusercontent.com/u/638632?v=3","gravatar_id":"","url":"https://api.github.com/users/guzzle","html_url":"https://github.com/guzzle","followers_url":"https://api.github.com/users/guzzle/followers","following_url":"https://api.github.com/users/guzzle/following{/other_user}","gists_url":"https://api.github.com/users/guzzle/gists{/gist_id}","starred_url":"https://api.github.com/users/guzzle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guzzle/subscriptions","organizations_url":"https://api.github.com/users/guzzle/orgs","repos_url":"https://api.github.com/users/guzzle/repos","events_url":"https://api.github.com/users/guzzle/events{/privacy}","received_events_url":"https://api.github.com/users/guzzle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guzzle/promises","description":"Promises/A+ library for PHP with synchronous support","fork":false,"url":"https://api.github.com/repos/guzzle/promises","forks_url":"https://api.github.com/repos/guzzle/promises/forks","keys_url":"https://api.github.com/repos/guzzle/promises/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guzzle/promises/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guzzle/promises/teams","hooks_url":"https://api.github.com/repos/guzzle/promises/hooks","issue_events_url":"https://api.github.com/repos/guzzle/promises/issues/events{/number}","events_url":"https://api.github.com/repos/guzzle/promises/events","assignees_url":"https://api.github.com/repos/guzzle/promises/assignees{/user}","branches_url":"https://api.github.com/repos/guzzle/promises/branches{/branch}","tags_url":"https://api.github.com/repos/guzzle/promises/tags","blobs_url":"https://api.github.com/repos/guzzle/promises/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guzzle/promises/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guzzle/promises/git/refs{/sha}","trees_url":"https://api.github.com/repos/guzzle/promises/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guzzle/promises/statuses/{sha}","languages_url":"https://api.github.com/repos/guzzle/promises/languages","stargazers_url":"https://api.github.com/repos/guzzle/promises/stargazers","contributors_url":"https://api.github.com/repos/guzzle/promises/contributors","subscribers_url":"https://api.github.com/repos/guzzle/promises/subscribers","subscription_url":"https://api.github.com/repos/guzzle/promises/subscription","commits_url":"https://api.github.com/repos/guzzle/promises/commits{/sha}","git_commits_url":"https://api.github.com/repos/guzzle/promises/git/commits{/sha}","comments_url":"https://api.github.com/repos/guzzle/promises/comments{/number}","issue_comment_url":"https://api.github.com/repos/guzzle/promises/issues/comments{/number}","contents_url":"https://api.github.com/repos/guzzle/promises/contents/{+path}","compare_url":"https://api.github.com/repos/guzzle/promises/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guzzle/promises/merges","archive_url":"https://api.github.com/repos/guzzle/promises/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guzzle/promises/downloads","issues_url":"https://api.github.com/repos/guzzle/promises/issues{/number}","pulls_url":"https://api.github.com/repos/guzzle/promises/pulls{/number}","milestones_url":"https://api.github.com/repos/guzzle/promises/milestones{/number}","notifications_url":"https://api.github.com/repos/guzzle/promises/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guzzle/promises/labels{/name}","releases_url":"https://api.github.com/repos/guzzle/promises/releases{/id}","created_at":"2015-02-25T03:30:26Z","updated_at":"2015-10-15T15:34:24Z","pushed_at":"2015-10-15T20:01:21Z","git_url":"git://github.com/guzzle/promises.git","ssh_url":"git@github.com:guzzle/promises.git","clone_url":"https://github.com/guzzle/promises.git","svn_url":"https://github.com/guzzle/promises","homepage":"","size":441,"stargazers_count":54,"watchers_count":54,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guzzle/promises/pulls/10"},"html":{"href":"https://github.com/guzzle/promises/pull/10"},"issue":{"href":"https://api.github.com/repos/guzzle/promises/issues/10"},"comments":{"href":"https://api.github.com/repos/guzzle/promises/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/guzzle/promises/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/guzzle/promises/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guzzle/promises/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/guzzle/promises/statuses/4cdb3fb161cf740f3ff13aa9e3d1085e85b729a1"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jeskew","id":705500,"avatar_url":"https://avatars.githubusercontent.com/u/705500?v=3","gravatar_id":"","url":"https://api.github.com/users/jeskew","html_url":"https://github.com/jeskew","followers_url":"https://api.github.com/users/jeskew/followers","following_url":"https://api.github.com/users/jeskew/following{/other_user}","gists_url":"https://api.github.com/users/jeskew/gists{/gist_id}","starred_url":"https://api.github.com/users/jeskew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeskew/subscriptions","organizations_url":"https://api.github.com/users/jeskew/orgs","repos_url":"https://api.github.com/users/jeskew/repos","events_url":"https://api.github.com/users/jeskew/events{/privacy}","received_events_url":"https://api.github.com/users/jeskew/received_events","type":"User","site_admin":false},"comments":3,"review_comments":2,"commits":1,"additions":11,"deletions":0,"changed_files":2}}