{"action":"created","comment":{"url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments/56835392","id":56835392,"diff_hunk":"@@ -0,0 +1,29 @@\n+<?php\n+\n+namespace Fce\\Http\\Requests;\n+\n+use Fce\\Http\\Requests\\Request;\n+\n+class SectionRequest extends Request\n+{\n+\n+    /**\n+     * Get the validation rules that apply to the request.\n+     *\n+     * @return array\n+     */\n+    public function rules()","path":"app/Http/Requests/SectionRequest.php","position":15,"original_position":15,"commit_id":"63823c4840785b1253817617e37b9039d749c48d","original_commit_id":"63823c4840785b1253817617e37b9039d749c48d","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"body":"Yeah I mentioned that. Good find. We can combine the different Request classes with that switch statement.","created_at":"2016-03-21T14:56:05Z","updated_at":"2016-03-21T14:56:05Z","html_url":"https://github.com/BrainMaestro/FCE/pull/105#discussion_r56835392","pull_request_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105","_links":{"self":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments/56835392"},"html":{"href":"https://github.com/BrainMaestro/FCE/pull/105#discussion_r56835392"},"pull_request":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105"}}},"pull_request":{"url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105","id":63500225,"html_url":"https://github.com/BrainMaestro/FCE/pull/105","diff_url":"https://github.com/BrainMaestro/FCE/pull/105.diff","patch_url":"https://github.com/BrainMaestro/FCE/pull/105.patch","issue_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/105","number":105,"state":"open","locked":false,"title":"Add section controller","user":{"login":"SkaeX","id":9969952,"avatar_url":"https://avatars.githubusercontent.com/u/9969952?v=3","gravatar_id":"","url":"https://api.github.com/users/SkaeX","html_url":"https://github.com/SkaeX","followers_url":"https://api.github.com/users/SkaeX/followers","following_url":"https://api.github.com/users/SkaeX/following{/other_user}","gists_url":"https://api.github.com/users/SkaeX/gists{/gist_id}","starred_url":"https://api.github.com/users/SkaeX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SkaeX/subscriptions","organizations_url":"https://api.github.com/users/SkaeX/orgs","repos_url":"https://api.github.com/users/SkaeX/repos","events_url":"https://api.github.com/users/SkaeX/events{/privacy}","received_events_url":"https://api.github.com/users/SkaeX/received_events","type":"User","site_admin":false},"body":"Part of #62.\r\n- Added implementation of showReport method.\r\n- Updated the routes file.\r\n- Added test for the new method.","created_at":"2016-03-20T16:39:34Z","updated_at":"2016-03-21T14:56:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8eaaf0a1cbd8e922f6efce89d52574bf795996c9","assignee":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105/commits","review_comments_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105/comments","review_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/105/comments","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/63823c4840785b1253817617e37b9039d749c48d","head":{"label":"BrainMaestro:feature/add-section-controller","ref":"feature/add-section-controller","sha":"63823c4840785b1253817617e37b9039d749c48d","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"repo":{"id":25135102,"name":"FCE","full_name":"BrainMaestro/FCE","owner":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrainMaestro/FCE","description":"Faculty Evaluation System (AUN)","fork":false,"url":"https://api.github.com/repos/BrainMaestro/FCE","forks_url":"https://api.github.com/repos/BrainMaestro/FCE/forks","keys_url":"https://api.github.com/repos/BrainMaestro/FCE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrainMaestro/FCE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrainMaestro/FCE/teams","hooks_url":"https://api.github.com/repos/BrainMaestro/FCE/hooks","issue_events_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/events{/number}","events_url":"https://api.github.com/repos/BrainMaestro/FCE/events","assignees_url":"https://api.github.com/repos/BrainMaestro/FCE/assignees{/user}","branches_url":"https://api.github.com/repos/BrainMaestro/FCE/branches{/branch}","tags_url":"https://api.github.com/repos/BrainMaestro/FCE/tags","blobs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrainMaestro/FCE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrainMaestro/FCE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/{sha}","languages_url":"https://api.github.com/repos/BrainMaestro/FCE/languages","stargazers_url":"https://api.github.com/repos/BrainMaestro/FCE/stargazers","contributors_url":"https://api.github.com/repos/BrainMaestro/FCE/contributors","subscribers_url":"https://api.github.com/repos/BrainMaestro/FCE/subscribers","subscription_url":"https://api.github.com/repos/BrainMaestro/FCE/subscription","commits_url":"https://api.github.com/repos/BrainMaestro/FCE/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrainMaestro/FCE/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrainMaestro/FCE/contents/{+path}","compare_url":"https://api.github.com/repos/BrainMaestro/FCE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrainMaestro/FCE/merges","archive_url":"https://api.github.com/repos/BrainMaestro/FCE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrainMaestro/FCE/downloads","issues_url":"https://api.github.com/repos/BrainMaestro/FCE/issues{/number}","pulls_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls{/number}","milestones_url":"https://api.github.com/repos/BrainMaestro/FCE/milestones{/number}","notifications_url":"https://api.github.com/repos/BrainMaestro/FCE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrainMaestro/FCE/labels{/name}","releases_url":"https://api.github.com/repos/BrainMaestro/FCE/releases{/id}","deployments_url":"https://api.github.com/repos/BrainMaestro/FCE/deployments","created_at":"2014-10-12T23:23:08Z","updated_at":"2016-01-20T11:58:33Z","pushed_at":"2016-03-21T14:39:53Z","git_url":"git://github.com/BrainMaestro/FCE.git","ssh_url":"git@github.com:BrainMaestro/FCE.git","clone_url":"https://github.com/BrainMaestro/FCE.git","svn_url":"https://github.com/BrainMaestro/FCE","homepage":null,"size":6467,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":1,"default_branch":"develop"}},"base":{"label":"BrainMaestro:feature/implement-controllers","ref":"feature/implement-controllers","sha":"20213f5f41988705d79546755917c1644e91f2c3","user":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"repo":{"id":25135102,"name":"FCE","full_name":"BrainMaestro/FCE","owner":{"login":"BrainMaestro","id":1738373,"avatar_url":"https://avatars.githubusercontent.com/u/1738373?v=3","gravatar_id":"","url":"https://api.github.com/users/BrainMaestro","html_url":"https://github.com/BrainMaestro","followers_url":"https://api.github.com/users/BrainMaestro/followers","following_url":"https://api.github.com/users/BrainMaestro/following{/other_user}","gists_url":"https://api.github.com/users/BrainMaestro/gists{/gist_id}","starred_url":"https://api.github.com/users/BrainMaestro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrainMaestro/subscriptions","organizations_url":"https://api.github.com/users/BrainMaestro/orgs","repos_url":"https://api.github.com/users/BrainMaestro/repos","events_url":"https://api.github.com/users/BrainMaestro/events{/privacy}","received_events_url":"https://api.github.com/users/BrainMaestro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrainMaestro/FCE","description":"Faculty Evaluation System (AUN)","fork":false,"url":"https://api.github.com/repos/BrainMaestro/FCE","forks_url":"https://api.github.com/repos/BrainMaestro/FCE/forks","keys_url":"https://api.github.com/repos/BrainMaestro/FCE/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrainMaestro/FCE/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrainMaestro/FCE/teams","hooks_url":"https://api.github.com/repos/BrainMaestro/FCE/hooks","issue_events_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/events{/number}","events_url":"https://api.github.com/repos/BrainMaestro/FCE/events","assignees_url":"https://api.github.com/repos/BrainMaestro/FCE/assignees{/user}","branches_url":"https://api.github.com/repos/BrainMaestro/FCE/branches{/branch}","tags_url":"https://api.github.com/repos/BrainMaestro/FCE/tags","blobs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrainMaestro/FCE/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrainMaestro/FCE/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrainMaestro/FCE/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrainMaestro/FCE/statuses/{sha}","languages_url":"https://api.github.com/repos/BrainMaestro/FCE/languages","stargazers_url":"https://api.github.com/repos/BrainMaestro/FCE/stargazers","contributors_url":"https://api.github.com/repos/BrainMaestro/FCE/contributors","subscribers_url":"https://api.github.com/repos/BrainMaestro/FCE/subscribers","subscription_url":"https://api.github.com/repos/BrainMaestro/FCE/subscription","commits_url":"https://api.github.com/repos/BrainMaestro/FCE/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrainMaestro/FCE/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrainMaestro/FCE/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrainMaestro/FCE/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrainMaestro/FCE/contents/{+path}","compare_url":"https://api.github.com/repos/BrainMaestro/FCE/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrainMaestro/FCE/merges","archive_url":"https://api.github.com/repos/BrainMaestro/FCE/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrainMaestro/FCE/downloads","issues_url":"https://api.github.com/repos/BrainMaestro/FCE/issues{/number}","pulls_url":"https://api.github.com/repos/BrainMaestro/FCE/pulls{/number}","milestones_url":"https://api.github.com/repos/BrainMaestro/FCE/milestones{/number}","notifications_url":"https://api.github.com/repos/BrainMaestro/FCE/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrainMaestro/FCE/labels{/name}","releases_url":"https://api.github.com/repos/BrainMaestro/FCE/releases{/id}","deployments_url":"https://api.github.com/repos/BrainMaestro/FCE/deployments","created_at":"2014-10-12T23:23:08Z","updated_at":"2016-01-20T11:58:33Z","pushed_at":"2016-03-21T14:39:53Z","git_url":"git://github.com/BrainMaestro/FCE.git","ssh_url":"git@github.com:BrainMaestro/FCE.git","clone_url":"https://github.com/BrainMaestro/FCE.git","svn_url":"https://github.com/BrainMaestro/FCE","homepage":null,"size":6467,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":11,"forks":1,"open_issues":11,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105"},"html":{"href":"https://github.com/BrainMaestro/FCE/pull/105"},"issue":{"href":"https://api.github.com/repos/BrainMaestro/FCE/issues/105"},"comments":{"href":"https://api.github.com/repos/BrainMaestro/FCE/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BrainMaestro/FCE/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/BrainMaestro/FCE/statuses/63823c4840785b1253817617e37b9039d749c48d"}}}}