{"action":"created","comment":{"url":"https://api.github.com/repos/Block8/PHPCI/pulls/comments/35479368","id":35479368,"diff_hunk":"@@ -0,0 +1,83 @@\n+<?php\n+namespace PHPCI;\n+\n+use b8\\Database as B8Database;\n+\n+class Database extends B8Database\n+{\n+    public static function getConnection($type = 'read')","path":"PHPCI/Database.php","position":8,"original_position":8,"commit_id":"2bf1e831f1b9c077b177d6f6ed55b75149ca64d2","original_commit_id":"2bf1e831f1b9c077b177d6f6ed55b75149ca64d2","user":{"login":"phpcibot","id":11097145,"avatar_url":"https://avatars.githubusercontent.com/u/11097145?v=3","gravatar_id":"","url":"https://api.github.com/users/phpcibot","html_url":"https://github.com/phpcibot","followers_url":"https://api.github.com/users/phpcibot/followers","following_url":"https://api.github.com/users/phpcibot/following{/other_user}","gists_url":"https://api.github.com/users/phpcibot/gists{/gist_id}","starred_url":"https://api.github.com/users/phpcibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpcibot/subscriptions","organizations_url":"https://api.github.com/users/phpcibot/orgs","repos_url":"https://api.github.com/users/phpcibot/repos","events_url":"https://api.github.com/users/phpcibot/events{/privacy}","received_events_url":"https://api.github.com/users/phpcibot/received_events","type":"User","site_admin":false},"body":"Method Database::getConnection does not have a Docblock comment.","created_at":"2015-07-25T03:58:28Z","updated_at":"2015-07-25T03:58:28Z","html_url":"https://github.com/Block8/PHPCI/pull/1039#discussion_r35479368","pull_request_url":"https://api.github.com/repos/Block8/PHPCI/pulls/1039","_links":{"self":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/comments/35479368"},"html":{"href":"https://github.com/Block8/PHPCI/pull/1039#discussion_r35479368"},"pull_request":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/1039"}}},"pull_request":{"url":"https://api.github.com/repos/Block8/PHPCI/pulls/1039","id":40830275,"html_url":"https://github.com/Block8/PHPCI/pull/1039","diff_url":"https://github.com/Block8/PHPCI/pull/1039.diff","patch_url":"https://github.com/Block8/PHPCI/pull/1039.patch","issue_url":"https://api.github.com/repos/Block8/PHPCI/issues/1039","number":1039,"state":"open","locked":false,"title":"MySQL alternative port support","user":{"login":"chtombleson","id":276237,"avatar_url":"https://avatars.githubusercontent.com/u/276237?v=3","gravatar_id":"","url":"https://api.github.com/users/chtombleson","html_url":"https://github.com/chtombleson","followers_url":"https://api.github.com/users/chtombleson/followers","following_url":"https://api.github.com/users/chtombleson/following{/other_user}","gists_url":"https://api.github.com/users/chtombleson/gists{/gist_id}","starred_url":"https://api.github.com/users/chtombleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtombleson/subscriptions","organizations_url":"https://api.github.com/users/chtombleson/orgs","repos_url":"https://api.github.com/users/chtombleson/repos","events_url":"https://api.github.com/users/chtombleson/events{/privacy}","received_events_url":"https://api.github.com/users/chtombleson/received_events","type":"User","site_admin":false},"body":"Contribution Type: bug fix\r\nPrimary Area: Database\r\nLink to Intent to Implement: https://github.com/Block8/PHPCI/issues/1037\r\nLink to Bug: https://github.com/Block8/PHPCI/issues/1037\r\n\r\nDescription of change:\r\nAdded support for alternative mysql port (localhost:3306).\r\n\r\nDescription of solution:\r\nPort number can be specified in the hostname like so, hostname:port\r\neg. localhost:3306","created_at":"2015-07-25T03:34:30Z","updated_at":"2015-07-25T03:58:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0f1bae5f2919d2525a79cc25e4dc97672a7e404","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Block8/PHPCI/pulls/1039/commits","review_comments_url":"https://api.github.com/repos/Block8/PHPCI/pulls/1039/comments","review_comment_url":"https://api.github.com/repos/Block8/PHPCI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Block8/PHPCI/issues/1039/comments","statuses_url":"https://api.github.com/repos/Block8/PHPCI/statuses/2bf1e831f1b9c077b177d6f6ed55b75149ca64d2","head":{"label":"chtombleson:mysql-port","ref":"mysql-port","sha":"2bf1e831f1b9c077b177d6f6ed55b75149ca64d2","user":{"login":"chtombleson","id":276237,"avatar_url":"https://avatars.githubusercontent.com/u/276237?v=3","gravatar_id":"","url":"https://api.github.com/users/chtombleson","html_url":"https://github.com/chtombleson","followers_url":"https://api.github.com/users/chtombleson/followers","following_url":"https://api.github.com/users/chtombleson/following{/other_user}","gists_url":"https://api.github.com/users/chtombleson/gists{/gist_id}","starred_url":"https://api.github.com/users/chtombleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtombleson/subscriptions","organizations_url":"https://api.github.com/users/chtombleson/orgs","repos_url":"https://api.github.com/users/chtombleson/repos","events_url":"https://api.github.com/users/chtombleson/events{/privacy}","received_events_url":"https://api.github.com/users/chtombleson/received_events","type":"User","site_admin":false},"repo":{"id":39534213,"name":"PHPCI","full_name":"chtombleson/PHPCI","owner":{"login":"chtombleson","id":276237,"avatar_url":"https://avatars.githubusercontent.com/u/276237?v=3","gravatar_id":"","url":"https://api.github.com/users/chtombleson","html_url":"https://github.com/chtombleson","followers_url":"https://api.github.com/users/chtombleson/followers","following_url":"https://api.github.com/users/chtombleson/following{/other_user}","gists_url":"https://api.github.com/users/chtombleson/gists{/gist_id}","starred_url":"https://api.github.com/users/chtombleson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chtombleson/subscriptions","organizations_url":"https://api.github.com/users/chtombleson/orgs","repos_url":"https://api.github.com/users/chtombleson/repos","events_url":"https://api.github.com/users/chtombleson/events{/privacy}","received_events_url":"https://api.github.com/users/chtombleson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chtombleson/PHPCI","description":"PHPCI is a free and open source continuous integration tool specifically designed for PHP.","fork":true,"url":"https://api.github.com/repos/chtombleson/PHPCI","forks_url":"https://api.github.com/repos/chtombleson/PHPCI/forks","keys_url":"https://api.github.com/repos/chtombleson/PHPCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chtombleson/PHPCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chtombleson/PHPCI/teams","hooks_url":"https://api.github.com/repos/chtombleson/PHPCI/hooks","issue_events_url":"https://api.github.com/repos/chtombleson/PHPCI/issues/events{/number}","events_url":"https://api.github.com/repos/chtombleson/PHPCI/events","assignees_url":"https://api.github.com/repos/chtombleson/PHPCI/assignees{/user}","branches_url":"https://api.github.com/repos/chtombleson/PHPCI/branches{/branch}","tags_url":"https://api.github.com/repos/chtombleson/PHPCI/tags","blobs_url":"https://api.github.com/repos/chtombleson/PHPCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chtombleson/PHPCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chtombleson/PHPCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/chtombleson/PHPCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chtombleson/PHPCI/statuses/{sha}","languages_url":"https://api.github.com/repos/chtombleson/PHPCI/languages","stargazers_url":"https://api.github.com/repos/chtombleson/PHPCI/stargazers","contributors_url":"https://api.github.com/repos/chtombleson/PHPCI/contributors","subscribers_url":"https://api.github.com/repos/chtombleson/PHPCI/subscribers","subscription_url":"https://api.github.com/repos/chtombleson/PHPCI/subscription","commits_url":"https://api.github.com/repos/chtombleson/PHPCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/chtombleson/PHPCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/chtombleson/PHPCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/chtombleson/PHPCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/chtombleson/PHPCI/contents/{+path}","compare_url":"https://api.github.com/repos/chtombleson/PHPCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chtombleson/PHPCI/merges","archive_url":"https://api.github.com/repos/chtombleson/PHPCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chtombleson/PHPCI/downloads","issues_url":"https://api.github.com/repos/chtombleson/PHPCI/issues{/number}","pulls_url":"https://api.github.com/repos/chtombleson/PHPCI/pulls{/number}","milestones_url":"https://api.github.com/repos/chtombleson/PHPCI/milestones{/number}","notifications_url":"https://api.github.com/repos/chtombleson/PHPCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chtombleson/PHPCI/labels{/name}","releases_url":"https://api.github.com/repos/chtombleson/PHPCI/releases{/id}","created_at":"2015-07-22T22:56:43Z","updated_at":"2015-07-22T22:56:45Z","pushed_at":"2015-07-25T03:56:27Z","git_url":"git://github.com/chtombleson/PHPCI.git","ssh_url":"git@github.com:chtombleson/PHPCI.git","clone_url":"https://github.com/chtombleson/PHPCI.git","svn_url":"https://github.com/chtombleson/PHPCI","homepage":"https://www.phptesting.org/","size":4613,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Block8:master","ref":"master","sha":"d698b11673d69b5d6b3df03d21f2c00ed2f67b56","user":{"login":"Block8","id":2234295,"avatar_url":"https://avatars.githubusercontent.com/u/2234295?v=3","gravatar_id":"","url":"https://api.github.com/users/Block8","html_url":"https://github.com/Block8","followers_url":"https://api.github.com/users/Block8/followers","following_url":"https://api.github.com/users/Block8/following{/other_user}","gists_url":"https://api.github.com/users/Block8/gists{/gist_id}","starred_url":"https://api.github.com/users/Block8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Block8/subscriptions","organizations_url":"https://api.github.com/users/Block8/orgs","repos_url":"https://api.github.com/users/Block8/repos","events_url":"https://api.github.com/users/Block8/events{/privacy}","received_events_url":"https://api.github.com/users/Block8/received_events","type":"Organization","site_admin":false},"repo":{"id":9982892,"name":"PHPCI","full_name":"Block8/PHPCI","owner":{"login":"Block8","id":2234295,"avatar_url":"https://avatars.githubusercontent.com/u/2234295?v=3","gravatar_id":"","url":"https://api.github.com/users/Block8","html_url":"https://github.com/Block8","followers_url":"https://api.github.com/users/Block8/followers","following_url":"https://api.github.com/users/Block8/following{/other_user}","gists_url":"https://api.github.com/users/Block8/gists{/gist_id}","starred_url":"https://api.github.com/users/Block8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Block8/subscriptions","organizations_url":"https://api.github.com/users/Block8/orgs","repos_url":"https://api.github.com/users/Block8/repos","events_url":"https://api.github.com/users/Block8/events{/privacy}","received_events_url":"https://api.github.com/users/Block8/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Block8/PHPCI","description":"PHPCI is a free and open source continuous integration tool specifically designed for PHP.","fork":false,"url":"https://api.github.com/repos/Block8/PHPCI","forks_url":"https://api.github.com/repos/Block8/PHPCI/forks","keys_url":"https://api.github.com/repos/Block8/PHPCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Block8/PHPCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Block8/PHPCI/teams","hooks_url":"https://api.github.com/repos/Block8/PHPCI/hooks","issue_events_url":"https://api.github.com/repos/Block8/PHPCI/issues/events{/number}","events_url":"https://api.github.com/repos/Block8/PHPCI/events","assignees_url":"https://api.github.com/repos/Block8/PHPCI/assignees{/user}","branches_url":"https://api.github.com/repos/Block8/PHPCI/branches{/branch}","tags_url":"https://api.github.com/repos/Block8/PHPCI/tags","blobs_url":"https://api.github.com/repos/Block8/PHPCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Block8/PHPCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Block8/PHPCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Block8/PHPCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Block8/PHPCI/statuses/{sha}","languages_url":"https://api.github.com/repos/Block8/PHPCI/languages","stargazers_url":"https://api.github.com/repos/Block8/PHPCI/stargazers","contributors_url":"https://api.github.com/repos/Block8/PHPCI/contributors","subscribers_url":"https://api.github.com/repos/Block8/PHPCI/subscribers","subscription_url":"https://api.github.com/repos/Block8/PHPCI/subscription","commits_url":"https://api.github.com/repos/Block8/PHPCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Block8/PHPCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Block8/PHPCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Block8/PHPCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Block8/PHPCI/contents/{+path}","compare_url":"https://api.github.com/repos/Block8/PHPCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Block8/PHPCI/merges","archive_url":"https://api.github.com/repos/Block8/PHPCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Block8/PHPCI/downloads","issues_url":"https://api.github.com/repos/Block8/PHPCI/issues{/number}","pulls_url":"https://api.github.com/repos/Block8/PHPCI/pulls{/number}","milestones_url":"https://api.github.com/repos/Block8/PHPCI/milestones{/number}","notifications_url":"https://api.github.com/repos/Block8/PHPCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Block8/PHPCI/labels{/name}","releases_url":"https://api.github.com/repos/Block8/PHPCI/releases{/id}","created_at":"2013-05-10T14:17:41Z","updated_at":"2015-07-24T20:16:06Z","pushed_at":"2015-07-25T03:56:27Z","git_url":"git://github.com/Block8/PHPCI.git","ssh_url":"git@github.com:Block8/PHPCI.git","clone_url":"https://github.com/Block8/PHPCI.git","svn_url":"https://github.com/Block8/PHPCI","homepage":"https://www.phptesting.org/","size":10239,"stargazers_count":1595,"watchers_count":1595,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":336,"mirror_url":null,"open_issues_count":224,"forks":336,"open_issues":224,"watchers":1595,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/1039"},"html":{"href":"https://github.com/Block8/PHPCI/pull/1039"},"issue":{"href":"https://api.github.com/repos/Block8/PHPCI/issues/1039"},"comments":{"href":"https://api.github.com/repos/Block8/PHPCI/issues/1039/comments"},"review_comments":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/1039/comments"},"review_comment":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/1039/commits"},"statuses":{"href":"https://api.github.com/repos/Block8/PHPCI/statuses/2bf1e831f1b9c077b177d6f6ed55b75149ca64d2"}}}}