{"action":"created","comment":{"url":"https://api.github.com/repos/jasny/http-message/pulls/comments/84149110","pull_request_review_id":4941602,"id":84149110,"diff_hunk":"@@ -0,0 +1,271 @@\n+<?php\n+\n+namespace Jasny\\HttpMessage;\n+\n+use Jasny\\HttpMessage\\Tests\\AssertLastError;\n+use PHPUnit_Framework_TestCase;\n+\n+/**\n+ * @covers Jasny\\HttpMessage\\ResponseHeaders\n+ * @runTestsInSeparateProcesses\n+ */\n+class ResponseHeadersTest extends PHPUnit_Framework_TestCase\n+{\n+    use AssertLastError;\n+    \n+    /**\n+     * @var ResponseHeaders\n+     */\n+    protected $headers;\n+\n+    public function setUp()\n+    {\n+        $this->headers = new ResponseHeaders();\n+    }\n+","path":"tests/ResponseHeadersTest.php","position":25,"original_position":25,"commit_id":"8dc61cd5c7df53170328cf58a9728b40d981f5f5","original_commit_id":"8dc61cd5c7df53170328cf58a9728b40d981f5f5","user":{"login":"jasny","id":100821,"avatar_url":"https://avatars.githubusercontent.com/u/100821?v=3","gravatar_id":"","url":"https://api.github.com/users/jasny","html_url":"https://github.com/jasny","followers_url":"https://api.github.com/users/jasny/followers","following_url":"https://api.github.com/users/jasny/following{/other_user}","gists_url":"https://api.github.com/users/jasny/gists{/gist_id}","starred_url":"https://api.github.com/users/jasny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasny/subscriptions","organizations_url":"https://api.github.com/users/jasny/orgs","repos_url":"https://api.github.com/users/jasny/repos","events_url":"https://api.github.com/users/jasny/events{/privacy}","received_events_url":"https://api.github.com/users/jasny/received_events","type":"User","site_admin":false},"body":"Unset `$_GLOBALS['headersList']` and `$_GLOBALS['responseCode']` after each test.","created_at":"2016-10-19T19:33:34Z","updated_at":"2016-10-19T19:33:34Z","html_url":"https://github.com/jasny/http-message/pull/14#discussion_r84149110","pull_request_url":"https://api.github.com/repos/jasny/http-message/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/jasny/http-message/pulls/comments/84149110"},"html":{"href":"https://github.com/jasny/http-message/pull/14#discussion_r84149110"},"pull_request":{"href":"https://api.github.com/repos/jasny/http-message/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/jasny/http-message/pulls/14","id":89789824,"html_url":"https://github.com/jasny/http-message/pull/14","diff_url":"https://github.com/jasny/http-message/pull/14.diff","patch_url":"https://github.com/jasny/http-message/pull/14.patch","issue_url":"https://api.github.com/repos/jasny/http-message/issues/14","number":14,"state":"open","locked":false,"title":"Response headers class","user":{"login":"poratuk","id":12087528,"avatar_url":"https://avatars.githubusercontent.com/u/12087528?v=3","gravatar_id":"","url":"https://api.github.com/users/poratuk","html_url":"https://github.com/poratuk","followers_url":"https://api.github.com/users/poratuk/followers","following_url":"https://api.github.com/users/poratuk/following{/other_user}","gists_url":"https://api.github.com/users/poratuk/gists{/gist_id}","starred_url":"https://api.github.com/users/poratuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poratuk/subscriptions","organizations_url":"https://api.github.com/users/poratuk/orgs","repos_url":"https://api.github.com/users/poratuk/repos","events_url":"https://api.github.com/users/poratuk/events{/privacy}","received_events_url":"https://api.github.com/users/poratuk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-18T10:44:07Z","updated_at":"2016-10-19T19:33:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d36a2a03575a1a9a5b1f2cf8b13bb78cde99173f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jasny/http-message/pulls/14/commits","review_comments_url":"https://api.github.com/repos/jasny/http-message/pulls/14/comments","review_comment_url":"https://api.github.com/repos/jasny/http-message/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jasny/http-message/issues/14/comments","statuses_url":"https://api.github.com/repos/jasny/http-message/statuses/8dc61cd5c7df53170328cf58a9728b40d981f5f5","head":{"label":"poratuk:ResponseHeaders","ref":"ResponseHeaders","sha":"8dc61cd5c7df53170328cf58a9728b40d981f5f5","user":{"login":"poratuk","id":12087528,"avatar_url":"https://avatars.githubusercontent.com/u/12087528?v=3","gravatar_id":"","url":"https://api.github.com/users/poratuk","html_url":"https://github.com/poratuk","followers_url":"https://api.github.com/users/poratuk/followers","following_url":"https://api.github.com/users/poratuk/following{/other_user}","gists_url":"https://api.github.com/users/poratuk/gists{/gist_id}","starred_url":"https://api.github.com/users/poratuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poratuk/subscriptions","organizations_url":"https://api.github.com/users/poratuk/orgs","repos_url":"https://api.github.com/users/poratuk/repos","events_url":"https://api.github.com/users/poratuk/events{/privacy}","received_events_url":"https://api.github.com/users/poratuk/received_events","type":"User","site_admin":false},"repo":{"id":69874501,"name":"http-message","full_name":"poratuk/http-message","owner":{"login":"poratuk","id":12087528,"avatar_url":"https://avatars.githubusercontent.com/u/12087528?v=3","gravatar_id":"","url":"https://api.github.com/users/poratuk","html_url":"https://github.com/poratuk","followers_url":"https://api.github.com/users/poratuk/followers","following_url":"https://api.github.com/users/poratuk/following{/other_user}","gists_url":"https://api.github.com/users/poratuk/gists{/gist_id}","starred_url":"https://api.github.com/users/poratuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poratuk/subscriptions","organizations_url":"https://api.github.com/users/poratuk/orgs","repos_url":"https://api.github.com/users/poratuk/repos","events_url":"https://api.github.com/users/poratuk/events{/privacy}","received_events_url":"https://api.github.com/users/poratuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/poratuk/http-message","description":"PSR-7 compatible HTTP message interface","fork":true,"url":"https://api.github.com/repos/poratuk/http-message","forks_url":"https://api.github.com/repos/poratuk/http-message/forks","keys_url":"https://api.github.com/repos/poratuk/http-message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/poratuk/http-message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/poratuk/http-message/teams","hooks_url":"https://api.github.com/repos/poratuk/http-message/hooks","issue_events_url":"https://api.github.com/repos/poratuk/http-message/issues/events{/number}","events_url":"https://api.github.com/repos/poratuk/http-message/events","assignees_url":"https://api.github.com/repos/poratuk/http-message/assignees{/user}","branches_url":"https://api.github.com/repos/poratuk/http-message/branches{/branch}","tags_url":"https://api.github.com/repos/poratuk/http-message/tags","blobs_url":"https://api.github.com/repos/poratuk/http-message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/poratuk/http-message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/poratuk/http-message/git/refs{/sha}","trees_url":"https://api.github.com/repos/poratuk/http-message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/poratuk/http-message/statuses/{sha}","languages_url":"https://api.github.com/repos/poratuk/http-message/languages","stargazers_url":"https://api.github.com/repos/poratuk/http-message/stargazers","contributors_url":"https://api.github.com/repos/poratuk/http-message/contributors","subscribers_url":"https://api.github.com/repos/poratuk/http-message/subscribers","subscription_url":"https://api.github.com/repos/poratuk/http-message/subscription","commits_url":"https://api.github.com/repos/poratuk/http-message/commits{/sha}","git_commits_url":"https://api.github.com/repos/poratuk/http-message/git/commits{/sha}","comments_url":"https://api.github.com/repos/poratuk/http-message/comments{/number}","issue_comment_url":"https://api.github.com/repos/poratuk/http-message/issues/comments{/number}","contents_url":"https://api.github.com/repos/poratuk/http-message/contents/{+path}","compare_url":"https://api.github.com/repos/poratuk/http-message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/poratuk/http-message/merges","archive_url":"https://api.github.com/repos/poratuk/http-message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/poratuk/http-message/downloads","issues_url":"https://api.github.com/repos/poratuk/http-message/issues{/number}","pulls_url":"https://api.github.com/repos/poratuk/http-message/pulls{/number}","milestones_url":"https://api.github.com/repos/poratuk/http-message/milestones{/number}","notifications_url":"https://api.github.com/repos/poratuk/http-message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/poratuk/http-message/labels{/name}","releases_url":"https://api.github.com/repos/poratuk/http-message/releases{/id}","deployments_url":"https://api.github.com/repos/poratuk/http-message/deployments","created_at":"2016-10-03T13:45:29Z","updated_at":"2016-10-03T13:45:31Z","pushed_at":"2016-10-19T15:34:17Z","git_url":"git://github.com/poratuk/http-message.git","ssh_url":"git@github.com:poratuk/http-message.git","clone_url":"https://github.com/poratuk/http-message.git","svn_url":"https://github.com/poratuk/http-message","homepage":null,"size":204,"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":"jasny:master","ref":"master","sha":"f698231f90e6b67ba94c9baccba1eaf24d43b491","user":{"login":"jasny","id":100821,"avatar_url":"https://avatars.githubusercontent.com/u/100821?v=3","gravatar_id":"","url":"https://api.github.com/users/jasny","html_url":"https://github.com/jasny","followers_url":"https://api.github.com/users/jasny/followers","following_url":"https://api.github.com/users/jasny/following{/other_user}","gists_url":"https://api.github.com/users/jasny/gists{/gist_id}","starred_url":"https://api.github.com/users/jasny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasny/subscriptions","organizations_url":"https://api.github.com/users/jasny/orgs","repos_url":"https://api.github.com/users/jasny/repos","events_url":"https://api.github.com/users/jasny/events{/privacy}","received_events_url":"https://api.github.com/users/jasny/received_events","type":"User","site_admin":false},"repo":{"id":58239249,"name":"http-message","full_name":"jasny/http-message","owner":{"login":"jasny","id":100821,"avatar_url":"https://avatars.githubusercontent.com/u/100821?v=3","gravatar_id":"","url":"https://api.github.com/users/jasny","html_url":"https://github.com/jasny","followers_url":"https://api.github.com/users/jasny/followers","following_url":"https://api.github.com/users/jasny/following{/other_user}","gists_url":"https://api.github.com/users/jasny/gists{/gist_id}","starred_url":"https://api.github.com/users/jasny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasny/subscriptions","organizations_url":"https://api.github.com/users/jasny/orgs","repos_url":"https://api.github.com/users/jasny/repos","events_url":"https://api.github.com/users/jasny/events{/privacy}","received_events_url":"https://api.github.com/users/jasny/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jasny/http-message","description":"PSR-7 compatible HTTP message interface","fork":false,"url":"https://api.github.com/repos/jasny/http-message","forks_url":"https://api.github.com/repos/jasny/http-message/forks","keys_url":"https://api.github.com/repos/jasny/http-message/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jasny/http-message/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jasny/http-message/teams","hooks_url":"https://api.github.com/repos/jasny/http-message/hooks","issue_events_url":"https://api.github.com/repos/jasny/http-message/issues/events{/number}","events_url":"https://api.github.com/repos/jasny/http-message/events","assignees_url":"https://api.github.com/repos/jasny/http-message/assignees{/user}","branches_url":"https://api.github.com/repos/jasny/http-message/branches{/branch}","tags_url":"https://api.github.com/repos/jasny/http-message/tags","blobs_url":"https://api.github.com/repos/jasny/http-message/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jasny/http-message/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jasny/http-message/git/refs{/sha}","trees_url":"https://api.github.com/repos/jasny/http-message/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jasny/http-message/statuses/{sha}","languages_url":"https://api.github.com/repos/jasny/http-message/languages","stargazers_url":"https://api.github.com/repos/jasny/http-message/stargazers","contributors_url":"https://api.github.com/repos/jasny/http-message/contributors","subscribers_url":"https://api.github.com/repos/jasny/http-message/subscribers","subscription_url":"https://api.github.com/repos/jasny/http-message/subscription","commits_url":"https://api.github.com/repos/jasny/http-message/commits{/sha}","git_commits_url":"https://api.github.com/repos/jasny/http-message/git/commits{/sha}","comments_url":"https://api.github.com/repos/jasny/http-message/comments{/number}","issue_comment_url":"https://api.github.com/repos/jasny/http-message/issues/comments{/number}","contents_url":"https://api.github.com/repos/jasny/http-message/contents/{+path}","compare_url":"https://api.github.com/repos/jasny/http-message/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jasny/http-message/merges","archive_url":"https://api.github.com/repos/jasny/http-message/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jasny/http-message/downloads","issues_url":"https://api.github.com/repos/jasny/http-message/issues{/number}","pulls_url":"https://api.github.com/repos/jasny/http-message/pulls{/number}","milestones_url":"https://api.github.com/repos/jasny/http-message/milestones{/number}","notifications_url":"https://api.github.com/repos/jasny/http-message/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jasny/http-message/labels{/name}","releases_url":"https://api.github.com/repos/jasny/http-message/releases{/id}","deployments_url":"https://api.github.com/repos/jasny/http-message/deployments","created_at":"2016-05-06T23:01:37Z","updated_at":"2016-08-19T08:38:09Z","pushed_at":"2016-10-19T15:40:10Z","git_url":"git://github.com/jasny/http-message.git","ssh_url":"git@github.com:jasny/http-message.git","clone_url":"https://github.com/jasny/http-message.git","svn_url":"https://github.com/jasny/http-message","homepage":null,"size":193,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jasny/http-message/pulls/14"},"html":{"href":"https://github.com/jasny/http-message/pull/14"},"issue":{"href":"https://api.github.com/repos/jasny/http-message/issues/14"},"comments":{"href":"https://api.github.com/repos/jasny/http-message/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/jasny/http-message/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/jasny/http-message/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jasny/http-message/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/jasny/http-message/statuses/8dc61cd5c7df53170328cf58a9728b40d981f5f5"}}}}
{"actor":{"display_login":"jasny"}}