GitHub PullRequestReviewCommentEvent at 2014-06-19 16:54:23
Repository: phongo
Actor: jmikola
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bjori/phongo/pulls/comments/13979603","id":13979603,"diff_hunk":"@@ -0,0 +1,207 @@\n+/*\n+  +---------------------------------------------------------------------------+\n+  | PHP Driver for MongoDB                                                    |\n+  +---------------------------------------------------------------------------+\n+  | Copyright 2013-2014 MongoDB, Inc.                                         |\n+  |                                                                           |\n+  | Licensed under the Apache License, Version 2.0 (the \"License\");           |\n+  | you may not use this file except in compliance with the License.          |\n+  | You may obtain a copy of the License at                                   |\n+  |                                                                           |\n+  | http://www.apache.org/licenses/LICENSE-2.0                                |\n+  |                                                                           |\n+  | Unless required by applicable law or agreed to in writing, software       |\n+  | distributed under the License is distributed on an \"AS IS\" BASIS,         |\n+  | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  |\n+  | See the License for the specific language governing permissions and       |\n+  | limitations under the License.                                            |\n+  +---------------------------------------------------------------------------+\n+  | Copyright (c) 2014, MongoDB, Inc.                                         |\n+  +---------------------------------------------------------------------------+\n+*/\n+\n+#ifdef HAVE_CONFIG_H\n+#\tinclude \"config.h\"\n+#endif\n+\n+/* External libs */\n+#include <bson.h>\n+#include <mongoc.h>\n+\n+/* PHP Core stuff */\n+#include <php.h>\n+#include <php_ini.h>\n+#include <php/ext/standard/info.h>\n+#include <Zend/zend_interfaces.h>\n+#include <php/ext/spl/spl_iterators.h>\n+/* Our Compatability header */\n+#include \"php_compat_53.h\"\n+\n+/* Our stuffz */\n+#include \"php_phongo.h\"\n+#include \"php_bson.h\"\n+\n+\n+PHPAPI zend_class_entry *php_phongo_writeerror_ce;\n+\n+/* {{{ proto void WriteError->__construct(string $message, integer $code, integer $index, array|object $operation)\n+   @param string       $message   Server error message   */","path":"src/WriteError.c","position":48,"original_position":48,"commit_id":"d6f9350601acffbac0b6dec128a32ce89eaaa723","original_commit_id":"d6f9350601acffbac0b6dec128a32ce89eaaa723","user":{"login":"jmikola","id":244663,"avatar_url":"https://avatars.githubusercontent.com/u/244663?","gravatar_id":"f23700b51dc0c196c1dc02f84aeeecdf","url":"https://api.github.com/users/jmikola","html_url":"https://github.com/jmikola","followers_url":"https://api.github.com/users/jmikola/followers","following_url":"https://api.github.com/users/jmikola/following{/other_user}","gists_url":"https://api.github.com/users/jmikola/gists{/gist_id}","starred_url":"https://api.github.com/users/jmikola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmikola/subscriptions","organizations_url":"https://api.github.com/users/jmikola/orgs","repos_url":"https://api.github.com/users/jmikola/repos","events_url":"https://api.github.com/users/jmikola/events{/privacy}","received_events_url":"https://api.github.com/users/jmikola/received_events","type":"User","site_admin":false},"body":"Additional `@param`?","created_at":"2014-06-19T16:54:23Z","updated_at":"2014-06-19T16:54:23Z","html_url":"https://github.com/bjori/phongo/pull/4#discussion_r13979603","pull_request_url":"https://api.github.com/repos/bjori/phongo/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/bjori/phongo/pulls/comments/13979603"},"html":{"href":"https://github.com/bjori/phongo/pull/4#discussion_r13979603"},"pull_request":{"href":"https://api.github.com/repos/bjori/phongo/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/bjori/phongo/pulls/4","id":17324613,"html_url":"https://github.com/bjori/phongo/pull/4","diff_url":"https://github.com/bjori/phongo/pull/4.diff","patch_url":"https://github.com/bjori/phongo/pull/4.patch","issue_url":"https://api.github.com/repos/bjori/phongo/issues/4","number":4,"state":"open","title":"Extension hooks and skeleton of phongo, and basic bson implementation","user":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?","gravatar_id":"189511e30874ec6a3b583055f46fef78","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-06-18T22:47:26Z","updated_at":"2014-06-19T16:54:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ec1749a05762d804dfdce2e907642cbbec88b0f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bjori/phongo/pulls/4/commits","review_comments_url":"https://api.github.com/repos/bjori/phongo/pulls/4/comments","review_comment_url":"https://api.github.com/repos/bjori/phongo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bjori/phongo/issues/4/comments","statuses_url":"https://api.github.com/repos/bjori/phongo/statuses/d6f9350601acffbac0b6dec128a32ce89eaaa723","head":{"label":"bjori:c-skeleton","ref":"c-skeleton","sha":"d6f9350601acffbac0b6dec128a32ce89eaaa723","user":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?","gravatar_id":"189511e30874ec6a3b583055f46fef78","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"repo":{"id":19514152,"name":"phongo","full_name":"bjori/phongo","owner":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?","gravatar_id":"189511e30874ec6a3b583055f46fef78","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjori/phongo","description":"PHP MongoDB - PHongo - new MongoDB driver for PHP","fork":false,"url":"https://api.github.com/repos/bjori/phongo","forks_url":"https://api.github.com/repos/bjori/phongo/forks","keys_url":"https://api.github.com/repos/bjori/phongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjori/phongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjori/phongo/teams","hooks_url":"https://api.github.com/repos/bjori/phongo/hooks","issue_events_url":"https://api.github.com/repos/bjori/phongo/issues/events{/number}","events_url":"https://api.github.com/repos/bjori/phongo/events","assignees_url":"https://api.github.com/repos/bjori/phongo/assignees{/user}","branches_url":"https://api.github.com/repos/bjori/phongo/branches{/branch}","tags_url":"https://api.github.com/repos/bjori/phongo/tags","blobs_url":"https://api.github.com/repos/bjori/phongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjori/phongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjori/phongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjori/phongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjori/phongo/statuses/{sha}","languages_url":"https://api.github.com/repos/bjori/phongo/languages","stargazers_url":"https://api.github.com/repos/bjori/phongo/stargazers","contributors_url":"https://api.github.com/repos/bjori/phongo/contributors","subscribers_url":"https://api.github.com/repos/bjori/phongo/subscribers","subscription_url":"https://api.github.com/repos/bjori/phongo/subscription","commits_url":"https://api.github.com/repos/bjori/phongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjori/phongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjori/phongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjori/phongo/issues/comments/{number}","contents_url":"https://api.github.com/repos/bjori/phongo/contents/{+path}","compare_url":"https://api.github.com/repos/bjori/phongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjori/phongo/merges","archive_url":"https://api.github.com/repos/bjori/phongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjori/phongo/downloads","issues_url":"https://api.github.com/repos/bjori/phongo/issues{/number}","pulls_url":"https://api.github.com/repos/bjori/phongo/pulls{/number}","milestones_url":"https://api.github.com/repos/bjori/phongo/milestones{/number}","notifications_url":"https://api.github.com/repos/bjori/phongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjori/phongo/labels{/name}","releases_url":"https://api.github.com/repos/bjori/phongo/releases{/id}","created_at":"2014-05-06T23:18:32Z","updated_at":"2014-06-19T16:37:50Z","pushed_at":"2014-06-19T16:37:34Z","git_url":"git://github.com/bjori/phongo.git","ssh_url":"git@github.com:bjori/phongo.git","clone_url":"https://github.com/bjori/phongo.git","svn_url":"https://github.com/bjori/phongo","homepage":null,"size":640,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"bjori:master","ref":"master","sha":"dacf3bc633def92e3b39eb1c7c09a87abb9eac1a","user":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?","gravatar_id":"189511e30874ec6a3b583055f46fef78","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"repo":{"id":19514152,"name":"phongo","full_name":"bjori/phongo","owner":{"login":"bjori","id":72407,"avatar_url":"https://avatars.githubusercontent.com/u/72407?","gravatar_id":"189511e30874ec6a3b583055f46fef78","url":"https://api.github.com/users/bjori","html_url":"https://github.com/bjori","followers_url":"https://api.github.com/users/bjori/followers","following_url":"https://api.github.com/users/bjori/following{/other_user}","gists_url":"https://api.github.com/users/bjori/gists{/gist_id}","starred_url":"https://api.github.com/users/bjori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjori/subscriptions","organizations_url":"https://api.github.com/users/bjori/orgs","repos_url":"https://api.github.com/users/bjori/repos","events_url":"https://api.github.com/users/bjori/events{/privacy}","received_events_url":"https://api.github.com/users/bjori/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bjori/phongo","description":"PHP MongoDB - PHongo - new MongoDB driver for PHP","fork":false,"url":"https://api.github.com/repos/bjori/phongo","forks_url":"https://api.github.com/repos/bjori/phongo/forks","keys_url":"https://api.github.com/repos/bjori/phongo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bjori/phongo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bjori/phongo/teams","hooks_url":"https://api.github.com/repos/bjori/phongo/hooks","issue_events_url":"https://api.github.com/repos/bjori/phongo/issues/events{/number}","events_url":"https://api.github.com/repos/bjori/phongo/events","assignees_url":"https://api.github.com/repos/bjori/phongo/assignees{/user}","branches_url":"https://api.github.com/repos/bjori/phongo/branches{/branch}","tags_url":"https://api.github.com/repos/bjori/phongo/tags","blobs_url":"https://api.github.com/repos/bjori/phongo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bjori/phongo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bjori/phongo/git/refs{/sha}","trees_url":"https://api.github.com/repos/bjori/phongo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bjori/phongo/statuses/{sha}","languages_url":"https://api.github.com/repos/bjori/phongo/languages","stargazers_url":"https://api.github.com/repos/bjori/phongo/stargazers","contributors_url":"https://api.github.com/repos/bjori/phongo/contributors","subscribers_url":"https://api.github.com/repos/bjori/phongo/subscribers","subscription_url":"https://api.github.com/repos/bjori/phongo/subscription","commits_url":"https://api.github.com/repos/bjori/phongo/commits{/sha}","git_commits_url":"https://api.github.com/repos/bjori/phongo/git/commits{/sha}","comments_url":"https://api.github.com/repos/bjori/phongo/comments{/number}","issue_comment_url":"https://api.github.com/repos/bjori/phongo/issues/comments/{number}","contents_url":"https://api.github.com/repos/bjori/phongo/contents/{+path}","compare_url":"https://api.github.com/repos/bjori/phongo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bjori/phongo/merges","archive_url":"https://api.github.com/repos/bjori/phongo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bjori/phongo/downloads","issues_url":"https://api.github.com/repos/bjori/phongo/issues{/number}","pulls_url":"https://api.github.com/repos/bjori/phongo/pulls{/number}","milestones_url":"https://api.github.com/repos/bjori/phongo/milestones{/number}","notifications_url":"https://api.github.com/repos/bjori/phongo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bjori/phongo/labels{/name}","releases_url":"https://api.github.com/repos/bjori/phongo/releases{/id}","created_at":"2014-05-06T23:18:32Z","updated_at":"2014-06-19T16:37:50Z","pushed_at":"2014-06-19T16:37:34Z","git_url":"git://github.com/bjori/phongo.git","ssh_url":"git@github.com:bjori/phongo.git","clone_url":"https://github.com/bjori/phongo.git","svn_url":"https://github.com/bjori/phongo","homepage":null,"size":640,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bjori/phongo/pulls/4"},"html":{"href":"https://github.com/bjori/phongo/pull/4"},"issue":{"href":"https://api.github.com/repos/bjori/phongo/issues/4"},"comments":{"href":"https://api.github.com/repos/bjori/phongo/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/bjori/phongo/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/bjori/phongo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bjori/phongo/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/bjori/phongo/statuses/d6f9350601acffbac0b6dec128a32ce89eaaa723"}}}}