{"action":"created","comment":{"url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/comments/75473976","id":75473976,"diff_hunk":"@@ -9,7 +9,6 @@ class ResponseFactory implements ResponseFactoryInterface\n {\n     public function createResponse($code = 200)\n     {\n-        return (new Response())\n-            ->withStatus($code);\n+        return new Response('php://memory', $code);","path":"src/ResponseFactory.php","position":6,"original_position":6,"commit_id":"caf74b6e5b1cb7d79a749aab003414d027cdfd47","original_commit_id":"caf74b6e5b1cb7d79a749aab003414d027cdfd47","user":{"login":"shadowhand","id":38203,"avatar_url":"https://avatars.githubusercontent.com/u/38203?v=3","gravatar_id":"","url":"https://api.github.com/users/shadowhand","html_url":"https://github.com/shadowhand","followers_url":"https://api.github.com/users/shadowhand/followers","following_url":"https://api.github.com/users/shadowhand/following{/other_user}","gists_url":"https://api.github.com/users/shadowhand/gists{/gist_id}","starred_url":"https://api.github.com/users/shadowhand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadowhand/subscriptions","organizations_url":"https://api.github.com/users/shadowhand/orgs","repos_url":"https://api.github.com/users/shadowhand/repos","events_url":"https://api.github.com/users/shadowhand/events{/privacy}","received_events_url":"https://api.github.com/users/shadowhand/received_events","type":"User","site_admin":false},"body":"And what if the default changes to something undesirable in the future? Having one less object isn't worth it in my opinion.","created_at":"2016-08-19T12:42:38Z","updated_at":"2016-08-19T12:42:38Z","html_url":"https://github.com/http-interop/http-factory-diactoros/pull/4#discussion_r75473976","pull_request_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/comments/75473976"},"html":{"href":"https://github.com/http-interop/http-factory-diactoros/pull/4#discussion_r75473976"},"pull_request":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4","id":81929487,"html_url":"https://github.com/http-interop/http-factory-diactoros/pull/4","diff_url":"https://github.com/http-interop/http-factory-diactoros/pull/4.diff","patch_url":"https://github.com/http-interop/http-factory-diactoros/pull/4.patch","issue_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/4","number":4,"state":"open","locked":false,"title":"Make sure there is less objects created","user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"body":"This is just a minor thing. ","created_at":"2016-08-19T05:47:10Z","updated_at":"2016-08-19T12:42:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5d4d57fd5a4eb46df0ffe1a9b3c0e7abd7c52952","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4/commits","review_comments_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4/comments","review_comment_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/comments{/number}","comments_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/4/comments","statuses_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/statuses/caf74b6e5b1cb7d79a749aab003414d027cdfd47","head":{"label":"Nyholm:patch-2","ref":"patch-2","sha":"caf74b6e5b1cb7d79a749aab003414d027cdfd47","user":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"repo":{"id":66055921,"name":"http-factory-diactoros","full_name":"Nyholm/http-factory-diactoros","owner":{"login":"Nyholm","id":1275206,"avatar_url":"https://avatars.githubusercontent.com/u/1275206?v=3","gravatar_id":"","url":"https://api.github.com/users/Nyholm","html_url":"https://github.com/Nyholm","followers_url":"https://api.github.com/users/Nyholm/followers","following_url":"https://api.github.com/users/Nyholm/following{/other_user}","gists_url":"https://api.github.com/users/Nyholm/gists{/gist_id}","starred_url":"https://api.github.com/users/Nyholm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nyholm/subscriptions","organizations_url":"https://api.github.com/users/Nyholm/orgs","repos_url":"https://api.github.com/users/Nyholm/repos","events_url":"https://api.github.com/users/Nyholm/events{/privacy}","received_events_url":"https://api.github.com/users/Nyholm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nyholm/http-factory-diactoros","description":"HTTP factory implemented for Zend Diactoros","fork":true,"url":"https://api.github.com/repos/Nyholm/http-factory-diactoros","forks_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/forks","keys_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/teams","hooks_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/hooks","issue_events_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/issues/events{/number}","events_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/events","assignees_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/assignees{/user}","branches_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/branches{/branch}","tags_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/tags","blobs_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/statuses/{sha}","languages_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/languages","stargazers_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/stargazers","contributors_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/contributors","subscribers_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/subscribers","subscription_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/subscription","commits_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/contents/{+path}","compare_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/merges","archive_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/downloads","issues_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/issues{/number}","pulls_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/pulls{/number}","milestones_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/milestones{/number}","notifications_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/labels{/name}","releases_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/releases{/id}","deployments_url":"https://api.github.com/repos/Nyholm/http-factory-diactoros/deployments","created_at":"2016-08-19T05:42:37Z","updated_at":"2016-08-19T05:42:38Z","pushed_at":"2016-08-19T05:47:00Z","git_url":"git://github.com/Nyholm/http-factory-diactoros.git","ssh_url":"git@github.com:Nyholm/http-factory-diactoros.git","clone_url":"https://github.com/Nyholm/http-factory-diactoros.git","svn_url":"https://github.com/Nyholm/http-factory-diactoros","homepage":null,"size":9,"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":"http-interop:master","ref":"master","sha":"2edcb27f7138273f769f11d060c7147447df4933","user":{"login":"http-interop","id":21023081,"avatar_url":"https://avatars.githubusercontent.com/u/21023081?v=3","gravatar_id":"","url":"https://api.github.com/users/http-interop","html_url":"https://github.com/http-interop","followers_url":"https://api.github.com/users/http-interop/followers","following_url":"https://api.github.com/users/http-interop/following{/other_user}","gists_url":"https://api.github.com/users/http-interop/gists{/gist_id}","starred_url":"https://api.github.com/users/http-interop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http-interop/subscriptions","organizations_url":"https://api.github.com/users/http-interop/orgs","repos_url":"https://api.github.com/users/http-interop/repos","events_url":"https://api.github.com/users/http-interop/events{/privacy}","received_events_url":"https://api.github.com/users/http-interop/received_events","type":"Organization","site_admin":false},"repo":{"id":61205399,"name":"http-factory-diactoros","full_name":"http-interop/http-factory-diactoros","owner":{"login":"http-interop","id":21023081,"avatar_url":"https://avatars.githubusercontent.com/u/21023081?v=3","gravatar_id":"","url":"https://api.github.com/users/http-interop","html_url":"https://github.com/http-interop","followers_url":"https://api.github.com/users/http-interop/followers","following_url":"https://api.github.com/users/http-interop/following{/other_user}","gists_url":"https://api.github.com/users/http-interop/gists{/gist_id}","starred_url":"https://api.github.com/users/http-interop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/http-interop/subscriptions","organizations_url":"https://api.github.com/users/http-interop/orgs","repos_url":"https://api.github.com/users/http-interop/repos","events_url":"https://api.github.com/users/http-interop/events{/privacy}","received_events_url":"https://api.github.com/users/http-interop/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/http-interop/http-factory-diactoros","description":"HTTP factory implemented for Zend Diactoros","fork":false,"url":"https://api.github.com/repos/http-interop/http-factory-diactoros","forks_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/forks","keys_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/keys{/key_id}","collaborators_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/teams","hooks_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/hooks","issue_events_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/events{/number}","events_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/events","assignees_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/assignees{/user}","branches_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/branches{/branch}","tags_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/tags","blobs_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/git/refs{/sha}","trees_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/git/trees{/sha}","statuses_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/statuses/{sha}","languages_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/languages","stargazers_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/stargazers","contributors_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/contributors","subscribers_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/subscribers","subscription_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/subscription","commits_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/commits{/sha}","git_commits_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/git/commits{/sha}","comments_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/comments{/number}","issue_comment_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/comments{/number}","contents_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/contents/{+path}","compare_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/compare/{base}...{head}","merges_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/merges","archive_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/downloads","issues_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues{/number}","pulls_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls{/number}","milestones_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/milestones{/number}","notifications_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/labels{/name}","releases_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/releases{/id}","deployments_url":"https://api.github.com/repos/http-interop/http-factory-diactoros/deployments","created_at":"2016-06-15T12:13:32Z","updated_at":"2016-08-18T05:04:38Z","pushed_at":"2016-08-19T12:40:40Z","git_url":"git://github.com/http-interop/http-factory-diactoros.git","ssh_url":"git@github.com:http-interop/http-factory-diactoros.git","clone_url":"https://github.com/http-interop/http-factory-diactoros.git","svn_url":"https://github.com/http-interop/http-factory-diactoros","homepage":null,"size":9,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4"},"html":{"href":"https://github.com/http-interop/http-factory-diactoros/pull/4"},"issue":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/4"},"comments":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/http-interop/http-factory-diactoros/statuses/caf74b6e5b1cb7d79a749aab003414d027cdfd47"}}}}
{"actor":{"display_login":"shadowhand"}}