{"action":"created","comment":{"url":"https://api.github.com/repos/yogitado/phpdemo/pulls/comments/91273217","pull_request_review_id":11780693,"id":91273217,"diff_hunk":"@@ -0,0 +1,29 @@\n+<?php\n+\n+\n+class AdminController extends \\BaseController {\n+\t\n+\t/**\n+\t * Sends beta invite email\n+\t */\n+\tpublic function invite(){\n+\n+        return \"Do nothing. no invites sent\";\n+\n+\t\t// Get the emails to invite\n+//\t\t$users \t\t=\tBeta::whereStatus(0)->lists('email');\n+//\t\t// At this email always for testing\n+//\t\t$users[]\t=\t\"jefrycruz88@gmail.com\";\n+\n+\t\t// Set the all statuses to 0\n+//\t\tBeta::whereStatus(0)->update(array('status' => 1));","path":"app/controllers/testController.php","position":19,"original_position":19,"commit_id":"3ccd740799391ea7ba79b00d4e3efb95c528b237","original_commit_id":"3ccd740799391ea7ba79b00d4e3efb95c528b237","user":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-major.png) Remove this commented out code. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](http://172.27.59.144:9000/coding_rules#rule_key=php%3AS125)\n","created_at":"2016-12-07T11:19:58Z","updated_at":"2016-12-07T11:19:58Z","html_url":"https://github.com/yogitado/phpdemo/pull/1#discussion_r91273217","pull_request_url":"https://api.github.com/repos/yogitado/phpdemo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/yogitado/phpdemo/pulls/comments/91273217"},"html":{"href":"https://github.com/yogitado/phpdemo/pull/1#discussion_r91273217"},"pull_request":{"href":"https://api.github.com/repos/yogitado/phpdemo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/yogitado/phpdemo/pulls/1","id":96898736,"html_url":"https://github.com/yogitado/phpdemo/pull/1","diff_url":"https://github.com/yogitado/phpdemo/pull/1.diff","patch_url":"https://github.com/yogitado/phpdemo/pull/1.patch","issue_url":"https://api.github.com/repos/yogitado/phpdemo/issues/1","number":1,"state":"open","locked":false,"title":"testcontroller added on feature","user":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"body":"testcontroller added on feature","created_at":"2016-12-07T10:44:18Z","updated_at":"2016-12-07T11:19:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"366145304d44db940245c77476286ff3eb80b55f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/yogitado/phpdemo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/yogitado/phpdemo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/yogitado/phpdemo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yogitado/phpdemo/issues/1/comments","statuses_url":"https://api.github.com/repos/yogitado/phpdemo/statuses/3ccd740799391ea7ba79b00d4e3efb95c528b237","head":{"label":"yogitado:feature","ref":"feature","sha":"3ccd740799391ea7ba79b00d4e3efb95c528b237","user":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"repo":{"id":75825441,"name":"phpdemo","full_name":"yogitado/phpdemo","owner":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yogitado/phpdemo","description":null,"fork":false,"url":"https://api.github.com/repos/yogitado/phpdemo","forks_url":"https://api.github.com/repos/yogitado/phpdemo/forks","keys_url":"https://api.github.com/repos/yogitado/phpdemo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogitado/phpdemo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogitado/phpdemo/teams","hooks_url":"https://api.github.com/repos/yogitado/phpdemo/hooks","issue_events_url":"https://api.github.com/repos/yogitado/phpdemo/issues/events{/number}","events_url":"https://api.github.com/repos/yogitado/phpdemo/events","assignees_url":"https://api.github.com/repos/yogitado/phpdemo/assignees{/user}","branches_url":"https://api.github.com/repos/yogitado/phpdemo/branches{/branch}","tags_url":"https://api.github.com/repos/yogitado/phpdemo/tags","blobs_url":"https://api.github.com/repos/yogitado/phpdemo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogitado/phpdemo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogitado/phpdemo/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogitado/phpdemo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogitado/phpdemo/statuses/{sha}","languages_url":"https://api.github.com/repos/yogitado/phpdemo/languages","stargazers_url":"https://api.github.com/repos/yogitado/phpdemo/stargazers","contributors_url":"https://api.github.com/repos/yogitado/phpdemo/contributors","subscribers_url":"https://api.github.com/repos/yogitado/phpdemo/subscribers","subscription_url":"https://api.github.com/repos/yogitado/phpdemo/subscription","commits_url":"https://api.github.com/repos/yogitado/phpdemo/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogitado/phpdemo/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogitado/phpdemo/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogitado/phpdemo/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogitado/phpdemo/contents/{+path}","compare_url":"https://api.github.com/repos/yogitado/phpdemo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogitado/phpdemo/merges","archive_url":"https://api.github.com/repos/yogitado/phpdemo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogitado/phpdemo/downloads","issues_url":"https://api.github.com/repos/yogitado/phpdemo/issues{/number}","pulls_url":"https://api.github.com/repos/yogitado/phpdemo/pulls{/number}","milestones_url":"https://api.github.com/repos/yogitado/phpdemo/milestones{/number}","notifications_url":"https://api.github.com/repos/yogitado/phpdemo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogitado/phpdemo/labels{/name}","releases_url":"https://api.github.com/repos/yogitado/phpdemo/releases{/id}","deployments_url":"https://api.github.com/repos/yogitado/phpdemo/deployments","created_at":"2016-12-07T10:31:28Z","updated_at":"2016-12-07T10:33:05Z","pushed_at":"2016-12-07T10:44:19Z","git_url":"git://github.com/yogitado/phpdemo.git","ssh_url":"git@github.com:yogitado/phpdemo.git","clone_url":"https://github.com/yogitado/phpdemo.git","svn_url":"https://github.com/yogitado/phpdemo","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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":"yogitado:master","ref":"master","sha":"98a31e95a323f917bf2f7f97ab8d72cf3e8456a4","user":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"repo":{"id":75825441,"name":"phpdemo","full_name":"yogitado/phpdemo","owner":{"login":"yogitado","id":19643957,"avatar_url":"https://avatars.githubusercontent.com/u/19643957?v=3","gravatar_id":"","url":"https://api.github.com/users/yogitado","html_url":"https://github.com/yogitado","followers_url":"https://api.github.com/users/yogitado/followers","following_url":"https://api.github.com/users/yogitado/following{/other_user}","gists_url":"https://api.github.com/users/yogitado/gists{/gist_id}","starred_url":"https://api.github.com/users/yogitado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yogitado/subscriptions","organizations_url":"https://api.github.com/users/yogitado/orgs","repos_url":"https://api.github.com/users/yogitado/repos","events_url":"https://api.github.com/users/yogitado/events{/privacy}","received_events_url":"https://api.github.com/users/yogitado/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yogitado/phpdemo","description":null,"fork":false,"url":"https://api.github.com/repos/yogitado/phpdemo","forks_url":"https://api.github.com/repos/yogitado/phpdemo/forks","keys_url":"https://api.github.com/repos/yogitado/phpdemo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yogitado/phpdemo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yogitado/phpdemo/teams","hooks_url":"https://api.github.com/repos/yogitado/phpdemo/hooks","issue_events_url":"https://api.github.com/repos/yogitado/phpdemo/issues/events{/number}","events_url":"https://api.github.com/repos/yogitado/phpdemo/events","assignees_url":"https://api.github.com/repos/yogitado/phpdemo/assignees{/user}","branches_url":"https://api.github.com/repos/yogitado/phpdemo/branches{/branch}","tags_url":"https://api.github.com/repos/yogitado/phpdemo/tags","blobs_url":"https://api.github.com/repos/yogitado/phpdemo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yogitado/phpdemo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yogitado/phpdemo/git/refs{/sha}","trees_url":"https://api.github.com/repos/yogitado/phpdemo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yogitado/phpdemo/statuses/{sha}","languages_url":"https://api.github.com/repos/yogitado/phpdemo/languages","stargazers_url":"https://api.github.com/repos/yogitado/phpdemo/stargazers","contributors_url":"https://api.github.com/repos/yogitado/phpdemo/contributors","subscribers_url":"https://api.github.com/repos/yogitado/phpdemo/subscribers","subscription_url":"https://api.github.com/repos/yogitado/phpdemo/subscription","commits_url":"https://api.github.com/repos/yogitado/phpdemo/commits{/sha}","git_commits_url":"https://api.github.com/repos/yogitado/phpdemo/git/commits{/sha}","comments_url":"https://api.github.com/repos/yogitado/phpdemo/comments{/number}","issue_comment_url":"https://api.github.com/repos/yogitado/phpdemo/issues/comments{/number}","contents_url":"https://api.github.com/repos/yogitado/phpdemo/contents/{+path}","compare_url":"https://api.github.com/repos/yogitado/phpdemo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yogitado/phpdemo/merges","archive_url":"https://api.github.com/repos/yogitado/phpdemo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yogitado/phpdemo/downloads","issues_url":"https://api.github.com/repos/yogitado/phpdemo/issues{/number}","pulls_url":"https://api.github.com/repos/yogitado/phpdemo/pulls{/number}","milestones_url":"https://api.github.com/repos/yogitado/phpdemo/milestones{/number}","notifications_url":"https://api.github.com/repos/yogitado/phpdemo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yogitado/phpdemo/labels{/name}","releases_url":"https://api.github.com/repos/yogitado/phpdemo/releases{/id}","deployments_url":"https://api.github.com/repos/yogitado/phpdemo/deployments","created_at":"2016-12-07T10:31:28Z","updated_at":"2016-12-07T10:33:05Z","pushed_at":"2016-12-07T10:44:19Z","git_url":"git://github.com/yogitado/phpdemo.git","ssh_url":"git@github.com:yogitado/phpdemo.git","clone_url":"https://github.com/yogitado/phpdemo.git","svn_url":"https://github.com/yogitado/phpdemo","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"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/yogitado/phpdemo/pulls/1"},"html":{"href":"https://github.com/yogitado/phpdemo/pull/1"},"issue":{"href":"https://api.github.com/repos/yogitado/phpdemo/issues/1"},"comments":{"href":"https://api.github.com/repos/yogitado/phpdemo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/yogitado/phpdemo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/yogitado/phpdemo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yogitado/phpdemo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/yogitado/phpdemo/statuses/3ccd740799391ea7ba79b00d4e3efb95c528b237"}}}}
{"actor":{"display_login":"yogitado"}}