{"action":"created","comment":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/comments/71003135","id":71003135,"diff_hunk":"@@ -0,0 +1,120 @@\n+<?php\n+\n+namespace OAuth2\\Storage;\n+\n+/**\n+ * Description of MongoDBTest\n+ *\n+ * @author Roman Shuplov  <astronin@gmail.com>\n+ */\n+class MongoDBTest extends BaseTest \n+{\n+    \n+    public function __construct() {\n+        $mongodb = Bootstrap::getInstance()->getMongoDB();\n+    }\n+    \n+    public function testSetClientDetails() {","path":"test/OAuth2/Storage/MongoDBTest.php","position":17,"original_position":17,"commit_id":"839bec841d6ae911d4a0e89fc6785006f900f8f2","original_commit_id":"839bec841d6ae911d4a0e89fc6785006f900f8f2","user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"body":"curly braces should be on their own line, to be consistent with the styles in the rest of this library","created_at":"2016-07-15T16:42:13Z","updated_at":"2016-07-15T16:42:13Z","html_url":"https://github.com/bshaffer/oauth2-server-php/pull/748#discussion_r71003135","pull_request_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748","_links":{"self":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/comments/71003135"},"html":{"href":"https://github.com/bshaffer/oauth2-server-php/pull/748#discussion_r71003135"},"pull_request":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748"}}},"pull_request":{"url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748","id":77598594,"html_url":"https://github.com/bshaffer/oauth2-server-php/pull/748","diff_url":"https://github.com/bshaffer/oauth2-server-php/pull/748.diff","patch_url":"https://github.com/bshaffer/oauth2-server-php/pull/748.patch","issue_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/748","number":748,"state":"open","locked":false,"title":"added MongoDB (new php driver mongodb) storage","user":{"login":"AstRonin","id":2378239,"avatar_url":"https://avatars.githubusercontent.com/u/2378239?v=3","gravatar_id":"","url":"https://api.github.com/users/AstRonin","html_url":"https://github.com/AstRonin","followers_url":"https://api.github.com/users/AstRonin/followers","following_url":"https://api.github.com/users/AstRonin/following{/other_user}","gists_url":"https://api.github.com/users/AstRonin/gists{/gist_id}","starred_url":"https://api.github.com/users/AstRonin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AstRonin/subscriptions","organizations_url":"https://api.github.com/users/AstRonin/orgs","repos_url":"https://api.github.com/users/AstRonin/repos","events_url":"https://api.github.com/users/AstRonin/events{/privacy}","received_events_url":"https://api.github.com/users/AstRonin/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-15T11:00:34Z","updated_at":"2016-07-15T16:42:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bb76da90c00393bf2d528eed7dc46d0cc62abf1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748/commits","review_comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748/comments","review_comment_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/748/comments","statuses_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/statuses/839bec841d6ae911d4a0e89fc6785006f900f8f2","head":{"label":"AstRonin:develop","ref":"develop","sha":"839bec841d6ae911d4a0e89fc6785006f900f8f2","user":{"login":"AstRonin","id":2378239,"avatar_url":"https://avatars.githubusercontent.com/u/2378239?v=3","gravatar_id":"","url":"https://api.github.com/users/AstRonin","html_url":"https://github.com/AstRonin","followers_url":"https://api.github.com/users/AstRonin/followers","following_url":"https://api.github.com/users/AstRonin/following{/other_user}","gists_url":"https://api.github.com/users/AstRonin/gists{/gist_id}","starred_url":"https://api.github.com/users/AstRonin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AstRonin/subscriptions","organizations_url":"https://api.github.com/users/AstRonin/orgs","repos_url":"https://api.github.com/users/AstRonin/repos","events_url":"https://api.github.com/users/AstRonin/events{/privacy}","received_events_url":"https://api.github.com/users/AstRonin/received_events","type":"User","site_admin":false},"repo":{"id":63254562,"name":"oauth2-server-php","full_name":"AstRonin/oauth2-server-php","owner":{"login":"AstRonin","id":2378239,"avatar_url":"https://avatars.githubusercontent.com/u/2378239?v=3","gravatar_id":"","url":"https://api.github.com/users/AstRonin","html_url":"https://github.com/AstRonin","followers_url":"https://api.github.com/users/AstRonin/followers","following_url":"https://api.github.com/users/AstRonin/following{/other_user}","gists_url":"https://api.github.com/users/AstRonin/gists{/gist_id}","starred_url":"https://api.github.com/users/AstRonin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AstRonin/subscriptions","organizations_url":"https://api.github.com/users/AstRonin/orgs","repos_url":"https://api.github.com/users/AstRonin/repos","events_url":"https://api.github.com/users/AstRonin/events{/privacy}","received_events_url":"https://api.github.com/users/AstRonin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AstRonin/oauth2-server-php","description":"A library for implementing an OAuth2 Server in php","fork":true,"url":"https://api.github.com/repos/AstRonin/oauth2-server-php","forks_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/forks","keys_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/teams","hooks_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/hooks","issue_events_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/issues/events{/number}","events_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/events","assignees_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/assignees{/user}","branches_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/branches{/branch}","tags_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/tags","blobs_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/statuses/{sha}","languages_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/languages","stargazers_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/stargazers","contributors_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/contributors","subscribers_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/subscribers","subscription_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/subscription","commits_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/contents/{+path}","compare_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/merges","archive_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/downloads","issues_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/issues{/number}","pulls_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/pulls{/number}","milestones_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/milestones{/number}","notifications_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/labels{/name}","releases_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/releases{/id}","deployments_url":"https://api.github.com/repos/AstRonin/oauth2-server-php/deployments","created_at":"2016-07-13T14:47:24Z","updated_at":"2016-07-13T14:47:26Z","pushed_at":"2016-07-15T10:16:50Z","git_url":"git://github.com/AstRonin/oauth2-server-php.git","ssh_url":"git@github.com:AstRonin/oauth2-server-php.git","clone_url":"https://github.com/AstRonin/oauth2-server-php.git","svn_url":"https://github.com/AstRonin/oauth2-server-php","homepage":"http://bshaffer.github.io/oauth2-server-php-docs","size":1413,"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":"develop"}},"base":{"label":"bshaffer:develop","ref":"develop","sha":"125965cd1d35bb85aa4f3c1c1e0a088790c6df31","user":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"repo":{"id":5893828,"name":"oauth2-server-php","full_name":"bshaffer/oauth2-server-php","owner":{"login":"bshaffer","id":103941,"avatar_url":"https://avatars.githubusercontent.com/u/103941?v=3","gravatar_id":"","url":"https://api.github.com/users/bshaffer","html_url":"https://github.com/bshaffer","followers_url":"https://api.github.com/users/bshaffer/followers","following_url":"https://api.github.com/users/bshaffer/following{/other_user}","gists_url":"https://api.github.com/users/bshaffer/gists{/gist_id}","starred_url":"https://api.github.com/users/bshaffer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bshaffer/subscriptions","organizations_url":"https://api.github.com/users/bshaffer/orgs","repos_url":"https://api.github.com/users/bshaffer/repos","events_url":"https://api.github.com/users/bshaffer/events{/privacy}","received_events_url":"https://api.github.com/users/bshaffer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bshaffer/oauth2-server-php","description":"A library for implementing an OAuth2 Server in php","fork":false,"url":"https://api.github.com/repos/bshaffer/oauth2-server-php","forks_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/forks","keys_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/teams","hooks_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/hooks","issue_events_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/events{/number}","events_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/events","assignees_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/assignees{/user}","branches_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/branches{/branch}","tags_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/tags","blobs_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/statuses/{sha}","languages_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/languages","stargazers_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/stargazers","contributors_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/contributors","subscribers_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/subscribers","subscription_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/subscription","commits_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/contents/{+path}","compare_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/merges","archive_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/downloads","issues_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues{/number}","pulls_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls{/number}","milestones_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/milestones{/number}","notifications_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/labels{/name}","releases_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/releases{/id}","deployments_url":"https://api.github.com/repos/bshaffer/oauth2-server-php/deployments","created_at":"2012-09-20T22:22:53Z","updated_at":"2016-07-13T10:35:01Z","pushed_at":"2016-07-15T11:00:34Z","git_url":"git://github.com/bshaffer/oauth2-server-php.git","ssh_url":"git@github.com:bshaffer/oauth2-server-php.git","clone_url":"https://github.com/bshaffer/oauth2-server-php.git","svn_url":"https://github.com/bshaffer/oauth2-server-php","homepage":"http://bshaffer.github.io/oauth2-server-php-docs","size":2965,"stargazers_count":1842,"watchers_count":1842,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":603,"mirror_url":null,"open_issues_count":146,"forks":603,"open_issues":146,"watchers":1842,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748"},"html":{"href":"https://github.com/bshaffer/oauth2-server-php/pull/748"},"issue":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/748"},"comments":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/issues/748/comments"},"review_comments":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748/comments"},"review_comment":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/pulls/748/commits"},"statuses":{"href":"https://api.github.com/repos/bshaffer/oauth2-server-php/statuses/839bec841d6ae911d4a0e89fc6785006f900f8f2"}}}}
{"actor":{"display_login":"bshaffer"}}