{"action":"created","comment":{"url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments/48544114","id":48544114,"diff_hunk":"@@ -7,7 +7,7 @@ public function __construct() {\n \n     public function registerEntry($data) {\n         // Optional form field\n-        $organisedEvent = isset($data['organised-event']) ? $data['organised-event'] : NULL;\n+        $organisedEvent = isset($data['organised-event']) ? $data['organised-event'] : null;","path":"src/app/models/sap_model.php","position":5,"original_position":5,"commit_id":"6147df51a327375a24a89c57389ac1b6ad53fcc9","original_commit_id":"6147df51a327375a24a89c57389ac1b6ad53fcc9","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"body":"Because lowercase `null`, `true`, `false` is a sniff.","created_at":"2015-12-29T14:42:06Z","updated_at":"2015-12-29T14:42:06Z","html_url":"https://github.com/felicity-iiith/felicity16-website/pull/76#discussion_r48544114","pull_request_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments/48544114"},"html":{"href":"https://github.com/felicity-iiith/felicity16-website/pull/76#discussion_r48544114"},"pull_request":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76","id":54226094,"html_url":"https://github.com/felicity-iiith/felicity16-website/pull/76","diff_url":"https://github.com/felicity-iiith/felicity16-website/pull/76.diff","patch_url":"https://github.com/felicity-iiith/felicity16-website/pull/76.patch","issue_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/76","number":76,"state":"open","locked":false,"title":"Add PHPCS","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"body":"Enabled some rules, they cause some failures. PR simply now. Once we want to seriously include this, I'll seriously look at the rules.\r\n\r\nEdit: Fixed some issues and disabled some sniffs.","created_at":"2015-12-21T06:59:30Z","updated_at":"2015-12-29T14:42:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a1b6bb130451fafc251d09a6573a30b1e97be08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76/commits","review_comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76/comments","review_comment_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/76/comments","statuses_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/6147df51a327375a24a89c57389ac1b6ad53fcc9","head":{"label":"polybuildr:phpcs","ref":"phpcs","sha":"6147df51a327375a24a89c57389ac1b6ad53fcc9","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"repo":{"id":39137006,"name":"felicity16","full_name":"polybuildr/felicity16","owner":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/polybuildr/felicity16","description":"Felicity 2k16 website.","fork":true,"url":"https://api.github.com/repos/polybuildr/felicity16","forks_url":"https://api.github.com/repos/polybuildr/felicity16/forks","keys_url":"https://api.github.com/repos/polybuildr/felicity16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/polybuildr/felicity16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/polybuildr/felicity16/teams","hooks_url":"https://api.github.com/repos/polybuildr/felicity16/hooks","issue_events_url":"https://api.github.com/repos/polybuildr/felicity16/issues/events{/number}","events_url":"https://api.github.com/repos/polybuildr/felicity16/events","assignees_url":"https://api.github.com/repos/polybuildr/felicity16/assignees{/user}","branches_url":"https://api.github.com/repos/polybuildr/felicity16/branches{/branch}","tags_url":"https://api.github.com/repos/polybuildr/felicity16/tags","blobs_url":"https://api.github.com/repos/polybuildr/felicity16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/polybuildr/felicity16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/polybuildr/felicity16/git/refs{/sha}","trees_url":"https://api.github.com/repos/polybuildr/felicity16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/polybuildr/felicity16/statuses/{sha}","languages_url":"https://api.github.com/repos/polybuildr/felicity16/languages","stargazers_url":"https://api.github.com/repos/polybuildr/felicity16/stargazers","contributors_url":"https://api.github.com/repos/polybuildr/felicity16/contributors","subscribers_url":"https://api.github.com/repos/polybuildr/felicity16/subscribers","subscription_url":"https://api.github.com/repos/polybuildr/felicity16/subscription","commits_url":"https://api.github.com/repos/polybuildr/felicity16/commits{/sha}","git_commits_url":"https://api.github.com/repos/polybuildr/felicity16/git/commits{/sha}","comments_url":"https://api.github.com/repos/polybuildr/felicity16/comments{/number}","issue_comment_url":"https://api.github.com/repos/polybuildr/felicity16/issues/comments{/number}","contents_url":"https://api.github.com/repos/polybuildr/felicity16/contents/{+path}","compare_url":"https://api.github.com/repos/polybuildr/felicity16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/polybuildr/felicity16/merges","archive_url":"https://api.github.com/repos/polybuildr/felicity16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/polybuildr/felicity16/downloads","issues_url":"https://api.github.com/repos/polybuildr/felicity16/issues{/number}","pulls_url":"https://api.github.com/repos/polybuildr/felicity16/pulls{/number}","milestones_url":"https://api.github.com/repos/polybuildr/felicity16/milestones{/number}","notifications_url":"https://api.github.com/repos/polybuildr/felicity16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/polybuildr/felicity16/labels{/name}","releases_url":"https://api.github.com/repos/polybuildr/felicity16/releases{/id}","created_at":"2015-07-15T13:00:57Z","updated_at":"2015-12-02T11:55:17Z","pushed_at":"2015-12-29T14:21:40Z","git_url":"git://github.com/polybuildr/felicity16.git","ssh_url":"git@github.com:polybuildr/felicity16.git","clone_url":"https://github.com/polybuildr/felicity16.git","svn_url":"https://github.com/polybuildr/felicity16","homepage":null,"size":406,"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":"master"}},"base":{"label":"felicity-iiith:master","ref":"master","sha":"edbedb24c484b2ad5dc89c13c3516ec9e90ea74d","user":{"login":"felicity-iiith","id":7930741,"avatar_url":"https://avatars.githubusercontent.com/u/7930741?v=3","gravatar_id":"","url":"https://api.github.com/users/felicity-iiith","html_url":"https://github.com/felicity-iiith","followers_url":"https://api.github.com/users/felicity-iiith/followers","following_url":"https://api.github.com/users/felicity-iiith/following{/other_user}","gists_url":"https://api.github.com/users/felicity-iiith/gists{/gist_id}","starred_url":"https://api.github.com/users/felicity-iiith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicity-iiith/subscriptions","organizations_url":"https://api.github.com/users/felicity-iiith/orgs","repos_url":"https://api.github.com/users/felicity-iiith/repos","events_url":"https://api.github.com/users/felicity-iiith/events{/privacy}","received_events_url":"https://api.github.com/users/felicity-iiith/received_events","type":"Organization","site_admin":false},"repo":{"id":39135757,"name":"felicity16-website","full_name":"felicity-iiith/felicity16-website","owner":{"login":"felicity-iiith","id":7930741,"avatar_url":"https://avatars.githubusercontent.com/u/7930741?v=3","gravatar_id":"","url":"https://api.github.com/users/felicity-iiith","html_url":"https://github.com/felicity-iiith","followers_url":"https://api.github.com/users/felicity-iiith/followers","following_url":"https://api.github.com/users/felicity-iiith/following{/other_user}","gists_url":"https://api.github.com/users/felicity-iiith/gists{/gist_id}","starred_url":"https://api.github.com/users/felicity-iiith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicity-iiith/subscriptions","organizations_url":"https://api.github.com/users/felicity-iiith/orgs","repos_url":"https://api.github.com/users/felicity-iiith/repos","events_url":"https://api.github.com/users/felicity-iiith/events{/privacy}","received_events_url":"https://api.github.com/users/felicity-iiith/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/felicity-iiith/felicity16-website","description":"Felicity '16 website.","fork":false,"url":"https://api.github.com/repos/felicity-iiith/felicity16-website","forks_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/forks","keys_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/teams","hooks_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/hooks","issue_events_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/events{/number}","events_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/events","assignees_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/assignees{/user}","branches_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/branches{/branch}","tags_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/tags","blobs_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/{sha}","languages_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/languages","stargazers_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/stargazers","contributors_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/contributors","subscribers_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/subscribers","subscription_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/subscription","commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/contents/{+path}","compare_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/merges","archive_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/downloads","issues_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues{/number}","pulls_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls{/number}","milestones_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/milestones{/number}","notifications_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/labels{/name}","releases_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/releases{/id}","created_at":"2015-07-15T12:32:54Z","updated_at":"2015-12-23T15:59:26Z","pushed_at":"2015-12-29T14:21:40Z","git_url":"git://github.com/felicity-iiith/felicity16-website.git","ssh_url":"git@github.com:felicity-iiith/felicity16-website.git","clone_url":"https://github.com/felicity-iiith/felicity16-website.git","svn_url":"https://github.com/felicity-iiith/felicity16-website","homepage":"","size":446,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":5,"forks":15,"open_issues":5,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76"},"html":{"href":"https://github.com/felicity-iiith/felicity16-website/pull/76"},"issue":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/76"},"comments":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/6147df51a327375a24a89c57389ac1b6ad53fcc9"}}}}