{"action":"created","comment":{"url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/comments/55656573","id":55656573,"diff_hunk":"@@ -20,6 +20,17 @@ public function __construct(Application $app = null)\n         $this->app = $app;\n     }\n \n+    public function findOneById($conversation_id)\n+    {\n+        $request = $this->app[\"conversation_proxy\"]\n+            ->get(\"/conversations/{$conversation_id}\");\n+        $response = $this->fireRequest($request, $this->app[\"cookies.authenticator\"]);\n+\n+        $conversation = new Conversation();\n+        $conversation->fromArray($response);\n+        return $conversation;","path":"src/ConversationManager.php","position":12,"original_position":12,"commit_id":"128930aadffbe5aba743380a94d63e8548537c39","original_commit_id":"128930aadffbe5aba743380a94d63e8548537c39","user":{"login":"lapwil","id":10071994,"avatar_url":"https://avatars.githubusercontent.com/u/10071994?v=3","gravatar_id":"","url":"https://api.github.com/users/lapwil","html_url":"https://github.com/lapwil","followers_url":"https://api.github.com/users/lapwil/followers","following_url":"https://api.github.com/users/lapwil/following{/other_user}","gists_url":"https://api.github.com/users/lapwil/gists{/gist_id}","starred_url":"https://api.github.com/users/lapwil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lapwil/subscriptions","organizations_url":"https://api.github.com/users/lapwil/orgs","repos_url":"https://api.github.com/users/lapwil/repos","events_url":"https://api.github.com/users/lapwil/events{/privacy}","received_events_url":"https://api.github.com/users/lapwil/received_events","type":"User","site_admin":false},"body":"une ligne vide avant ton return","created_at":"2016-03-10T09:58:18Z","updated_at":"2016-03-10T09:58:18Z","html_url":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1#discussion_r55656573","pull_request_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/comments/55656573"},"html":{"href":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1#discussion_r55656573"},"pull_request":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1","id":62233619,"html_url":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1","diff_url":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1.diff","patch_url":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1.patch","issue_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/1","number":1,"state":"open","locked":false,"title":"[FEATURE#26168] Ajout d'une nouvelle méthode","user":{"login":"misseur","id":6002501,"avatar_url":"https://avatars.githubusercontent.com/u/6002501?v=3","gravatar_id":"","url":"https://api.github.com/users/misseur","html_url":"https://github.com/misseur","followers_url":"https://api.github.com/users/misseur/followers","following_url":"https://api.github.com/users/misseur/following{/other_user}","gists_url":"https://api.github.com/users/misseur/gists{/gist_id}","starred_url":"https://api.github.com/users/misseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misseur/subscriptions","organizations_url":"https://api.github.com/users/misseur/orgs","repos_url":"https://api.github.com/users/misseur/repos","events_url":"https://api.github.com/users/misseur/events{/privacy}","received_events_url":"https://api.github.com/users/misseur/received_events","type":"User","site_admin":false},"body":"Ajout d'une méthode findOneById qui récupère uniquement une conversation avec seulement un ID.","created_at":"2016-03-09T14:11:59Z","updated_at":"2016-03-10T09:58:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"313ddf999a4634050d2072626ec9e926fec4a29c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1/commits","review_comments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1/comments","review_comment_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/comments{/number}","comments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/1/comments","statuses_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/statuses/128930aadffbe5aba743380a94d63e8548537c39","head":{"label":"misseur:feature/26168","ref":"feature/26168","sha":"128930aadffbe5aba743380a94d63e8548537c39","user":{"login":"misseur","id":6002501,"avatar_url":"https://avatars.githubusercontent.com/u/6002501?v=3","gravatar_id":"","url":"https://api.github.com/users/misseur","html_url":"https://github.com/misseur","followers_url":"https://api.github.com/users/misseur/followers","following_url":"https://api.github.com/users/misseur/following{/other_user}","gists_url":"https://api.github.com/users/misseur/gists{/gist_id}","starred_url":"https://api.github.com/users/misseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misseur/subscriptions","organizations_url":"https://api.github.com/users/misseur/orgs","repos_url":"https://api.github.com/users/misseur/repos","events_url":"https://api.github.com/users/misseur/events{/privacy}","received_events_url":"https://api.github.com/users/misseur/received_events","type":"User","site_admin":false},"repo":{"id":53501815,"name":"composer-conversation-proxy-provider","full_name":"misseur/composer-conversation-proxy-provider","owner":{"login":"misseur","id":6002501,"avatar_url":"https://avatars.githubusercontent.com/u/6002501?v=3","gravatar_id":"","url":"https://api.github.com/users/misseur","html_url":"https://github.com/misseur","followers_url":"https://api.github.com/users/misseur/followers","following_url":"https://api.github.com/users/misseur/following{/other_user}","gists_url":"https://api.github.com/users/misseur/gists{/gist_id}","starred_url":"https://api.github.com/users/misseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misseur/subscriptions","organizations_url":"https://api.github.com/users/misseur/orgs","repos_url":"https://api.github.com/users/misseur/repos","events_url":"https://api.github.com/users/misseur/events{/privacy}","received_events_url":"https://api.github.com/users/misseur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misseur/composer-conversation-proxy-provider","description":"","fork":true,"url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider","forks_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/forks","keys_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/teams","hooks_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/hooks","issue_events_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/events{/number}","events_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/events","assignees_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/assignees{/user}","branches_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/branches{/branch}","tags_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/tags","blobs_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/languages","stargazers_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/stargazers","contributors_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/contributors","subscribers_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/subscribers","subscription_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/subscription","commits_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/contents/{+path}","compare_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/merges","archive_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/downloads","issues_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues{/number}","pulls_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/labels{/name}","releases_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/releases{/id}","deployments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/deployments","created_at":"2016-03-09T13:58:56Z","updated_at":"2016-03-09T13:58:57Z","pushed_at":"2016-03-09T14:11:59Z","git_url":"git://github.com/misseur/composer-conversation-proxy-provider.git","ssh_url":"git@github.com:misseur/composer-conversation-proxy-provider.git","clone_url":"https://github.com/misseur/composer-conversation-proxy-provider.git","svn_url":"https://github.com/misseur/composer-conversation-proxy-provider","homepage":null,"size":28,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"misseur:master","ref":"master","sha":"7c163147e1115960117a8157187c7fa0f95ed713","user":{"login":"misseur","id":6002501,"avatar_url":"https://avatars.githubusercontent.com/u/6002501?v=3","gravatar_id":"","url":"https://api.github.com/users/misseur","html_url":"https://github.com/misseur","followers_url":"https://api.github.com/users/misseur/followers","following_url":"https://api.github.com/users/misseur/following{/other_user}","gists_url":"https://api.github.com/users/misseur/gists{/gist_id}","starred_url":"https://api.github.com/users/misseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misseur/subscriptions","organizations_url":"https://api.github.com/users/misseur/orgs","repos_url":"https://api.github.com/users/misseur/repos","events_url":"https://api.github.com/users/misseur/events{/privacy}","received_events_url":"https://api.github.com/users/misseur/received_events","type":"User","site_admin":false},"repo":{"id":53501815,"name":"composer-conversation-proxy-provider","full_name":"misseur/composer-conversation-proxy-provider","owner":{"login":"misseur","id":6002501,"avatar_url":"https://avatars.githubusercontent.com/u/6002501?v=3","gravatar_id":"","url":"https://api.github.com/users/misseur","html_url":"https://github.com/misseur","followers_url":"https://api.github.com/users/misseur/followers","following_url":"https://api.github.com/users/misseur/following{/other_user}","gists_url":"https://api.github.com/users/misseur/gists{/gist_id}","starred_url":"https://api.github.com/users/misseur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misseur/subscriptions","organizations_url":"https://api.github.com/users/misseur/orgs","repos_url":"https://api.github.com/users/misseur/repos","events_url":"https://api.github.com/users/misseur/events{/privacy}","received_events_url":"https://api.github.com/users/misseur/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/misseur/composer-conversation-proxy-provider","description":"","fork":true,"url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider","forks_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/forks","keys_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/keys{/key_id}","collaborators_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/teams","hooks_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/hooks","issue_events_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/events{/number}","events_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/events","assignees_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/assignees{/user}","branches_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/branches{/branch}","tags_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/tags","blobs_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/refs{/sha}","trees_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/trees{/sha}","statuses_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/statuses/{sha}","languages_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/languages","stargazers_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/stargazers","contributors_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/contributors","subscribers_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/subscribers","subscription_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/subscription","commits_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/commits{/sha}","git_commits_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/git/commits{/sha}","comments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/comments{/number}","issue_comment_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/comments{/number}","contents_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/contents/{+path}","compare_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/compare/{base}...{head}","merges_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/merges","archive_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/downloads","issues_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues{/number}","pulls_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls{/number}","milestones_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/milestones{/number}","notifications_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/labels{/name}","releases_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/releases{/id}","deployments_url":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/deployments","created_at":"2016-03-09T13:58:56Z","updated_at":"2016-03-09T13:58:57Z","pushed_at":"2016-03-09T14:11:59Z","git_url":"git://github.com/misseur/composer-conversation-proxy-provider.git","ssh_url":"git@github.com:misseur/composer-conversation-proxy-provider.git","clone_url":"https://github.com/misseur/composer-conversation-proxy-provider.git","svn_url":"https://github.com/misseur/composer-conversation-proxy-provider","homepage":null,"size":28,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1"},"html":{"href":"https://github.com/misseur/composer-conversation-proxy-provider/pull/1"},"issue":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/1"},"comments":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/misseur/composer-conversation-proxy-provider/statuses/128930aadffbe5aba743380a94d63e8548537c39"}}}}