{"action":"created","comment":{"url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/comments/42343302","id":42343302,"diff_hunk":"@@ -22,21 +28,46 @@ class RestApiBrowser\n     /** @var ResponseStorage */\n     private $responseStorage;\n \n-    public function __construct(HttpClient $httpClient)\n+    /**\n+     * @param string $base_url\n+     * @param string|null $adaptor_name\n+     * @throws HttpAdapterException\n+     */\n+    public function __construct($base_url, $adaptor_name)\n     {\n-        $this->httpClient = $httpClient;\n+        if (is_string($adaptor_name) && HttpAdapterFactory::capable($adaptor_name))","path":"src/Rest/RestApiBrowser.php","position":42,"original_position":42,"commit_id":"27951109c2cecd9170db9b5d845e6944be4adc55","original_commit_id":"27951109c2cecd9170db9b5d845e6944be4adc55","user":{"login":"tyx","id":245494,"avatar_url":"https://avatars.githubusercontent.com/u/245494?v=3","gravatar_id":"","url":"https://api.github.com/users/tyx","html_url":"https://github.com/tyx","followers_url":"https://api.github.com/users/tyx/followers","following_url":"https://api.github.com/users/tyx/following{/other_user}","gists_url":"https://api.github.com/users/tyx/gists{/gist_id}","starred_url":"https://api.github.com/users/tyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyx/subscriptions","organizations_url":"https://api.github.com/users/tyx/orgs","repos_url":"https://api.github.com/users/tyx/repos","events_url":"https://api.github.com/users/tyx/events{/privacy}","received_events_url":"https://api.github.com/users/tyx/received_events","type":"User","site_admin":false},"body":"missing braces","created_at":"2015-10-19T07:51:38Z","updated_at":"2015-10-19T07:51:38Z","html_url":"https://github.com/rezzza/rest-api-behat-extension/pull/28#discussion_r42343302","pull_request_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/comments/42343302"},"html":{"href":"https://github.com/rezzza/rest-api-behat-extension/pull/28#discussion_r42343302"},"pull_request":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28","id":47999176,"html_url":"https://github.com/rezzza/rest-api-behat-extension/pull/28","diff_url":"https://github.com/rezzza/rest-api-behat-extension/pull/28.diff","patch_url":"https://github.com/rezzza/rest-api-behat-extension/pull/28.patch","issue_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/28","number":28,"state":"open","locked":false,"title":"feature/18/leave_guzzle","user":{"login":"dsamblas","id":1905499,"avatar_url":"https://avatars.githubusercontent.com/u/1905499?v=3","gravatar_id":"","url":"https://api.github.com/users/dsamblas","html_url":"https://github.com/dsamblas","followers_url":"https://api.github.com/users/dsamblas/followers","following_url":"https://api.github.com/users/dsamblas/following{/other_user}","gists_url":"https://api.github.com/users/dsamblas/gists{/gist_id}","starred_url":"https://api.github.com/users/dsamblas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsamblas/subscriptions","organizations_url":"https://api.github.com/users/dsamblas/orgs","repos_url":"https://api.github.com/users/dsamblas/repos","events_url":"https://api.github.com/users/dsamblas/events{/privacy}","received_events_url":"https://api.github.com/users/dsamblas/received_events","type":"User","site_admin":false},"body":"First draft of the replacement with an http-client abstraction layer\r\nWIP (For review and comment) feel free to decline :P\r\n\r\nGet behat test pass with egeloen/http-adapter and curl\r\n\r\n\r\n","created_at":"2015-10-18T01:10:02Z","updated_at":"2015-10-19T07:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"851830394bbaf2f5f14a452139b3c95e0e0eb9c4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28/commits","review_comments_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28/comments","review_comment_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/28/comments","statuses_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/statuses/27951109c2cecd9170db9b5d845e6944be4adc55","head":{"label":"dsamblas:feature/18/leave_guzzle","ref":"feature/18/leave_guzzle","sha":"27951109c2cecd9170db9b5d845e6944be4adc55","user":{"login":"dsamblas","id":1905499,"avatar_url":"https://avatars.githubusercontent.com/u/1905499?v=3","gravatar_id":"","url":"https://api.github.com/users/dsamblas","html_url":"https://github.com/dsamblas","followers_url":"https://api.github.com/users/dsamblas/followers","following_url":"https://api.github.com/users/dsamblas/following{/other_user}","gists_url":"https://api.github.com/users/dsamblas/gists{/gist_id}","starred_url":"https://api.github.com/users/dsamblas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsamblas/subscriptions","organizations_url":"https://api.github.com/users/dsamblas/orgs","repos_url":"https://api.github.com/users/dsamblas/repos","events_url":"https://api.github.com/users/dsamblas/events{/privacy}","received_events_url":"https://api.github.com/users/dsamblas/received_events","type":"User","site_admin":false},"repo":{"id":43982484,"name":"rest-api-behat-extension","full_name":"dsamblas/rest-api-behat-extension","owner":{"login":"dsamblas","id":1905499,"avatar_url":"https://avatars.githubusercontent.com/u/1905499?v=3","gravatar_id":"","url":"https://api.github.com/users/dsamblas","html_url":"https://github.com/dsamblas","followers_url":"https://api.github.com/users/dsamblas/followers","following_url":"https://api.github.com/users/dsamblas/following{/other_user}","gists_url":"https://api.github.com/users/dsamblas/gists{/gist_id}","starred_url":"https://api.github.com/users/dsamblas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsamblas/subscriptions","organizations_url":"https://api.github.com/users/dsamblas/orgs","repos_url":"https://api.github.com/users/dsamblas/repos","events_url":"https://api.github.com/users/dsamblas/events{/privacy}","received_events_url":"https://api.github.com/users/dsamblas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dsamblas/rest-api-behat-extension","description":"Stuff to easily test your rest api with Behat","fork":true,"url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension","forks_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/forks","keys_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/teams","hooks_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/hooks","issue_events_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/issues/events{/number}","events_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/events","assignees_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/assignees{/user}","branches_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/branches{/branch}","tags_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/tags","blobs_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/languages","stargazers_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/stargazers","contributors_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/contributors","subscribers_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/subscribers","subscription_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/subscription","commits_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/contents/{+path}","compare_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/merges","archive_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/downloads","issues_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/issues{/number}","pulls_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/labels{/name}","releases_url":"https://api.github.com/repos/dsamblas/rest-api-behat-extension/releases{/id}","created_at":"2015-10-09T22:08:42Z","updated_at":"2015-10-09T22:08:42Z","pushed_at":"2015-10-18T00:58:19Z","git_url":"git://github.com/dsamblas/rest-api-behat-extension.git","ssh_url":"git@github.com:dsamblas/rest-api-behat-extension.git","clone_url":"https://github.com/dsamblas/rest-api-behat-extension.git","svn_url":"https://github.com/dsamblas/rest-api-behat-extension","homepage":"","size":175,"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":"rezzza:master","ref":"master","sha":"4bf8a25786f1eb32fc2d4fae8b9858759cf604d1","user":{"login":"rezzza","id":1461276,"avatar_url":"https://avatars.githubusercontent.com/u/1461276?v=3","gravatar_id":"","url":"https://api.github.com/users/rezzza","html_url":"https://github.com/rezzza","followers_url":"https://api.github.com/users/rezzza/followers","following_url":"https://api.github.com/users/rezzza/following{/other_user}","gists_url":"https://api.github.com/users/rezzza/gists{/gist_id}","starred_url":"https://api.github.com/users/rezzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezzza/subscriptions","organizations_url":"https://api.github.com/users/rezzza/orgs","repos_url":"https://api.github.com/users/rezzza/repos","events_url":"https://api.github.com/users/rezzza/events{/privacy}","received_events_url":"https://api.github.com/users/rezzza/received_events","type":"Organization","site_admin":false},"repo":{"id":30697419,"name":"rest-api-behat-extension","full_name":"rezzza/rest-api-behat-extension","owner":{"login":"rezzza","id":1461276,"avatar_url":"https://avatars.githubusercontent.com/u/1461276?v=3","gravatar_id":"","url":"https://api.github.com/users/rezzza","html_url":"https://github.com/rezzza","followers_url":"https://api.github.com/users/rezzza/followers","following_url":"https://api.github.com/users/rezzza/following{/other_user}","gists_url":"https://api.github.com/users/rezzza/gists{/gist_id}","starred_url":"https://api.github.com/users/rezzza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rezzza/subscriptions","organizations_url":"https://api.github.com/users/rezzza/orgs","repos_url":"https://api.github.com/users/rezzza/repos","events_url":"https://api.github.com/users/rezzza/events{/privacy}","received_events_url":"https://api.github.com/users/rezzza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rezzza/rest-api-behat-extension","description":"Stuff to easily test your rest api with Behat","fork":false,"url":"https://api.github.com/repos/rezzza/rest-api-behat-extension","forks_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/forks","keys_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/teams","hooks_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/hooks","issue_events_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/events{/number}","events_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/events","assignees_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/assignees{/user}","branches_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/branches{/branch}","tags_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/tags","blobs_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/languages","stargazers_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/stargazers","contributors_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/contributors","subscribers_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/subscribers","subscription_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/subscription","commits_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/contents/{+path}","compare_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/merges","archive_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/downloads","issues_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues{/number}","pulls_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/labels{/name}","releases_url":"https://api.github.com/repos/rezzza/rest-api-behat-extension/releases{/id}","created_at":"2015-02-12T10:24:28Z","updated_at":"2015-09-30T09:11:01Z","pushed_at":"2015-10-18T01:10:02Z","git_url":"git://github.com/rezzza/rest-api-behat-extension.git","ssh_url":"git@github.com:rezzza/rest-api-behat-extension.git","clone_url":"https://github.com/rezzza/rest-api-behat-extension.git","svn_url":"https://github.com/rezzza/rest-api-behat-extension","homepage":"","size":429,"stargazers_count":12,"watchers_count":12,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28"},"html":{"href":"https://github.com/rezzza/rest-api-behat-extension/pull/28"},"issue":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/28"},"comments":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/rezzza/rest-api-behat-extension/statuses/27951109c2cecd9170db9b5d845e6944be4adc55"}}}}