{"action":"created","comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/comments/104344392","pull_request_review_id":25176314,"id":104344392,"diff_hunk":"@@ -343,7 +343,50 @@ public function hasRule(string $field): bool\n \n \t//--------------------------------------------------------------------\n \n-    /**\n+\t/**\n+\t * Get rule group.\n+\t *\n+\t * @param string $group Group.\n+\t *\n+\t * @return string[] Rule group.\n+\t *\n+\t * @throws \\InvalidArgumentException If group not found.\n+\t */\n+\tpublic function getRuleGroup(string $group): array\n+\t{\n+\t\tif (!isset($this->config->$group)) {","path":"system/Validation/Validation.php","position":16,"original_position":16,"commit_id":"5de59be0ec1fce46a123aa6d10b86b5c298f074c","original_commit_id":"5de59be0ec1fce46a123aa6d10b86b5c298f074c","user":{"login":"lonnieezell","id":51931,"avatar_url":"https://avatars1.githubusercontent.com/u/51931?v=3","gravatar_id":"","url":"https://api.github.com/users/lonnieezell","html_url":"https://github.com/lonnieezell","followers_url":"https://api.github.com/users/lonnieezell/followers","following_url":"https://api.github.com/users/lonnieezell/following{/other_user}","gists_url":"https://api.github.com/users/lonnieezell/gists{/gist_id}","starred_url":"https://api.github.com/users/lonnieezell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonnieezell/subscriptions","organizations_url":"https://api.github.com/users/lonnieezell/orgs","repos_url":"https://api.github.com/users/lonnieezell/repos","events_url":"https://api.github.com/users/lonnieezell/events{/privacy}","received_events_url":"https://api.github.com/users/lonnieezell/received_events","type":"User","site_admin":false},"body":"It's a small, pedantic thing, but the style says that `!` should be followed by a space. Additionally, the opening curly braces on functions should be on it's own line. ","created_at":"2017-03-06T05:02:22Z","updated_at":"2017-03-06T05:04:17Z","html_url":"https://github.com/bcit-ci/CodeIgniter4/pull/421#discussion_r104344392","pull_request_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421","_links":{"self":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/comments/104344392"},"html":{"href":"https://github.com/bcit-ci/CodeIgniter4/pull/421#discussion_r104344392"},"pull_request":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421"}}},"pull_request":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421","id":108124163,"html_url":"https://github.com/bcit-ci/CodeIgniter4/pull/421","diff_url":"https://github.com/bcit-ci/CodeIgniter4/pull/421.diff","patch_url":"https://github.com/bcit-ci/CodeIgniter4/pull/421.patch","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/421","number":421,"state":"open","locked":false,"title":"Validation Get & Set Rule Groups","user":{"login":"EpicKris","id":491681,"avatar_url":"https://avatars0.githubusercontent.com/u/491681?v=3","gravatar_id":"","url":"https://api.github.com/users/EpicKris","html_url":"https://github.com/EpicKris","followers_url":"https://api.github.com/users/EpicKris/followers","following_url":"https://api.github.com/users/EpicKris/following{/other_user}","gists_url":"https://api.github.com/users/EpicKris/gists{/gist_id}","starred_url":"https://api.github.com/users/EpicKris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EpicKris/subscriptions","organizations_url":"https://api.github.com/users/EpicKris/orgs","repos_url":"https://api.github.com/users/EpicKris/repos","events_url":"https://api.github.com/users/EpicKris/events{/privacy}","received_events_url":"https://api.github.com/users/EpicKris/received_events","type":"User","site_admin":false},"body":"Created `Validation->getRuleGroup(string $group): array` and `Validation->setRuleGroup(string $group)` methods to get and set rule groups.\r\n\r\nIssue: #419\r\n\r\nSigned-off-by: Kristian Matthews <kristian.matthews@me.com>","created_at":"2017-02-27T14:25:32Z","updated_at":"2017-03-06T05:04:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c11a263e9d72485e7daa64e362147da1fbc76af","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421/commits","review_comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421/comments","review_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/421/comments","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/statuses/5de59be0ec1fce46a123aa6d10b86b5c298f074c","head":{"label":"EpicKris:feature/validation-get-set-rule-groups","ref":"feature/validation-get-set-rule-groups","sha":"5de59be0ec1fce46a123aa6d10b86b5c298f074c","user":{"login":"EpicKris","id":491681,"avatar_url":"https://avatars0.githubusercontent.com/u/491681?v=3","gravatar_id":"","url":"https://api.github.com/users/EpicKris","html_url":"https://github.com/EpicKris","followers_url":"https://api.github.com/users/EpicKris/followers","following_url":"https://api.github.com/users/EpicKris/following{/other_user}","gists_url":"https://api.github.com/users/EpicKris/gists{/gist_id}","starred_url":"https://api.github.com/users/EpicKris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EpicKris/subscriptions","organizations_url":"https://api.github.com/users/EpicKris/orgs","repos_url":"https://api.github.com/users/EpicKris/repos","events_url":"https://api.github.com/users/EpicKris/events{/privacy}","received_events_url":"https://api.github.com/users/EpicKris/received_events","type":"User","site_admin":false},"repo":{"id":62528369,"name":"CodeIgniter4","full_name":"EpicKris/CodeIgniter4","owner":{"login":"EpicKris","id":491681,"avatar_url":"https://avatars0.githubusercontent.com/u/491681?v=3","gravatar_id":"","url":"https://api.github.com/users/EpicKris","html_url":"https://github.com/EpicKris","followers_url":"https://api.github.com/users/EpicKris/followers","following_url":"https://api.github.com/users/EpicKris/following{/other_user}","gists_url":"https://api.github.com/users/EpicKris/gists{/gist_id}","starred_url":"https://api.github.com/users/EpicKris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EpicKris/subscriptions","organizations_url":"https://api.github.com/users/EpicKris/orgs","repos_url":"https://api.github.com/users/EpicKris/repos","events_url":"https://api.github.com/users/EpicKris/events{/privacy}","received_events_url":"https://api.github.com/users/EpicKris/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EpicKris/CodeIgniter4","description":"Open Source PHP Framework (originally from EllisLab)","fork":true,"url":"https://api.github.com/repos/EpicKris/CodeIgniter4","forks_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/forks","keys_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/teams","hooks_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/hooks","issue_events_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/issues/events{/number}","events_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/events","assignees_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/assignees{/user}","branches_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/branches{/branch}","tags_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/tags","blobs_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/git/refs{/sha}","trees_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/statuses/{sha}","languages_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/languages","stargazers_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/stargazers","contributors_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/contributors","subscribers_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/subscribers","subscription_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/subscription","commits_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/commits{/sha}","git_commits_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/git/commits{/sha}","comments_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/comments{/number}","issue_comment_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/issues/comments{/number}","contents_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/contents/{+path}","compare_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/merges","archive_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/downloads","issues_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/issues{/number}","pulls_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/pulls{/number}","milestones_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/milestones{/number}","notifications_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/labels{/name}","releases_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/releases{/id}","deployments_url":"https://api.github.com/repos/EpicKris/CodeIgniter4/deployments","created_at":"2016-07-04T03:18:14Z","updated_at":"2017-02-03T14:23:37Z","pushed_at":"2017-03-03T22:26:30Z","git_url":"git://github.com/EpicKris/CodeIgniter4.git","ssh_url":"git@github.com:EpicKris/CodeIgniter4.git","clone_url":"https://github.com/EpicKris/CodeIgniter4.git","svn_url":"https://github.com/EpicKris/CodeIgniter4","homepage":" https://codeigniter.com/","size":16777,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"develop"}},"base":{"label":"bcit-ci:develop","ref":"develop","sha":"5f1e539568a95118ad6ed56a2dba3f1489948246","user":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars1.githubusercontent.com/u/8863432?v=3","gravatar_id":"","url":"https://api.github.com/users/bcit-ci","html_url":"https://github.com/bcit-ci","followers_url":"https://api.github.com/users/bcit-ci/followers","following_url":"https://api.github.com/users/bcit-ci/following{/other_user}","gists_url":"https://api.github.com/users/bcit-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/bcit-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcit-ci/subscriptions","organizations_url":"https://api.github.com/users/bcit-ci/orgs","repos_url":"https://api.github.com/users/bcit-ci/repos","events_url":"https://api.github.com/users/bcit-ci/events{/privacy}","received_events_url":"https://api.github.com/users/bcit-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":41463886,"name":"CodeIgniter4","full_name":"bcit-ci/CodeIgniter4","owner":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars1.githubusercontent.com/u/8863432?v=3","gravatar_id":"","url":"https://api.github.com/users/bcit-ci","html_url":"https://github.com/bcit-ci","followers_url":"https://api.github.com/users/bcit-ci/followers","following_url":"https://api.github.com/users/bcit-ci/following{/other_user}","gists_url":"https://api.github.com/users/bcit-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/bcit-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcit-ci/subscriptions","organizations_url":"https://api.github.com/users/bcit-ci/orgs","repos_url":"https://api.github.com/users/bcit-ci/repos","events_url":"https://api.github.com/users/bcit-ci/events{/privacy}","received_events_url":"https://api.github.com/users/bcit-ci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bcit-ci/CodeIgniter4","description":"Open Source PHP Framework (originally from EllisLab)","fork":false,"url":"https://api.github.com/repos/bcit-ci/CodeIgniter4","forks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/forks","keys_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/teams","hooks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/hooks","issue_events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/events{/number}","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/events","assignees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/assignees{/user}","branches_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/branches{/branch}","tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/tags","blobs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/statuses/{sha}","languages_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/languages","stargazers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/stargazers","contributors_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/contributors","subscribers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/subscribers","subscription_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/subscription","commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/contents/{+path}","compare_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/merges","archive_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/downloads","issues_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues{/number}","pulls_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls{/number}","milestones_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/milestones{/number}","notifications_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/labels{/name}","releases_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/releases{/id}","deployments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter4/deployments","created_at":"2015-08-27T03:32:45Z","updated_at":"2017-03-05T14:13:22Z","pushed_at":"2017-03-06T04:34:57Z","git_url":"git://github.com/bcit-ci/CodeIgniter4.git","ssh_url":"git@github.com:bcit-ci/CodeIgniter4.git","clone_url":"https://github.com/bcit-ci/CodeIgniter4.git","svn_url":"https://github.com/bcit-ci/CodeIgniter4","homepage":" https://codeigniter.com/","size":19544,"stargazers_count":720,"watchers_count":720,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":264,"mirror_url":null,"open_issues_count":41,"forks":264,"open_issues":41,"watchers":720,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421"},"html":{"href":"https://github.com/bcit-ci/CodeIgniter4/pull/421"},"issue":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/421"},"comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/issues/421/comments"},"review_comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421/comments"},"review_comment":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/pulls/421/commits"},"statuses":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter4/statuses/5de59be0ec1fce46a123aa6d10b86b5c298f074c"}}}}
{"actor":{"display_login":"lonnieezell"}}