{"action":"created","comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments/47431063","id":47431063,"diff_hunk":"@@ -193,7 +194,11 @@ class CI_DB extends CI_DB_driver { }\n \t// Load the DB driver\n \t$driver_file = BASEPATH.'database/drivers/'.$params['dbdriver'].'/'.$params['dbdriver'].'_driver.php';\n \n-\tfile_exists($driver_file) OR show_error('Invalid DB driver');\n+\tif( ! file_exists($driver_file))","path":"system/database/DB.php","position":63,"original_position":63,"commit_id":"ecab1d016a3c7ffe59fec5ce3ad9fa4b38750d3d","original_commit_id":"ecab1d016a3c7ffe59fec5ce3ad9fa4b38750d3d","user":{"login":"narfbg","id":1058011,"avatar_url":"https://avatars.githubusercontent.com/u/1058011?v=3","gravatar_id":"","url":"https://api.github.com/users/narfbg","html_url":"https://github.com/narfbg","followers_url":"https://api.github.com/users/narfbg/followers","following_url":"https://api.github.com/users/narfbg/following{/other_user}","gists_url":"https://api.github.com/users/narfbg/gists{/gist_id}","starred_url":"https://api.github.com/users/narfbg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/narfbg/subscriptions","organizations_url":"https://api.github.com/users/narfbg/orgs","repos_url":"https://api.github.com/users/narfbg/repos","events_url":"https://api.github.com/users/narfbg/events{/privacy}","received_events_url":"https://api.github.com/users/narfbg/received_events","type":"User","site_admin":false},"body":"There needs to be a space between if and the opening parenthesis, i.e. `if (`","created_at":"2015-12-12T12:11:51Z","updated_at":"2015-12-12T12:11:51Z","html_url":"https://github.com/bcit-ci/CodeIgniter/pull/4292#discussion_r47431063","pull_request_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292","_links":{"self":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments/47431063"},"html":{"href":"https://github.com/bcit-ci/CodeIgniter/pull/4292#discussion_r47431063"},"pull_request":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292"}}},"pull_request":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292","id":52788863,"html_url":"https://github.com/bcit-ci/CodeIgniter/pull/4292","diff_url":"https://github.com/bcit-ci/CodeIgniter/pull/4292.diff","patch_url":"https://github.com/bcit-ci/CodeIgniter/pull/4292.patch","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4292","number":4292,"state":"open","locked":false,"title":"Refactor exception handling in database/DB","user":{"login":"DavidOtis","id":9111252,"avatar_url":"https://avatars.githubusercontent.com/u/9111252?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidOtis","html_url":"https://github.com/DavidOtis","followers_url":"https://api.github.com/users/DavidOtis/followers","following_url":"https://api.github.com/users/DavidOtis/following{/other_user}","gists_url":"https://api.github.com/users/DavidOtis/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidOtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidOtis/subscriptions","organizations_url":"https://api.github.com/users/DavidOtis/orgs","repos_url":"https://api.github.com/users/DavidOtis/repos","events_url":"https://api.github.com/users/DavidOtis/events{/privacy}","received_events_url":"https://api.github.com/users/DavidOtis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-06T20:07:58Z","updated_at":"2015-12-12T12:11:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd949cdd175004e74e7613b88c86f8ca3b6c3cfd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292/commits","review_comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292/comments","review_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4292/comments","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/ecab1d016a3c7ffe59fec5ce3ad9fa4b38750d3d","head":{"label":"DavidOtis:exceptions/DB","ref":"exceptions/DB","sha":"ecab1d016a3c7ffe59fec5ce3ad9fa4b38750d3d","user":{"login":"DavidOtis","id":9111252,"avatar_url":"https://avatars.githubusercontent.com/u/9111252?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidOtis","html_url":"https://github.com/DavidOtis","followers_url":"https://api.github.com/users/DavidOtis/followers","following_url":"https://api.github.com/users/DavidOtis/following{/other_user}","gists_url":"https://api.github.com/users/DavidOtis/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidOtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidOtis/subscriptions","organizations_url":"https://api.github.com/users/DavidOtis/orgs","repos_url":"https://api.github.com/users/DavidOtis/repos","events_url":"https://api.github.com/users/DavidOtis/events{/privacy}","received_events_url":"https://api.github.com/users/DavidOtis/received_events","type":"User","site_admin":false},"repo":{"id":42752290,"name":"CodeIgniter","full_name":"DavidOtis/CodeIgniter","owner":{"login":"DavidOtis","id":9111252,"avatar_url":"https://avatars.githubusercontent.com/u/9111252?v=3","gravatar_id":"","url":"https://api.github.com/users/DavidOtis","html_url":"https://github.com/DavidOtis","followers_url":"https://api.github.com/users/DavidOtis/followers","following_url":"https://api.github.com/users/DavidOtis/following{/other_user}","gists_url":"https://api.github.com/users/DavidOtis/gists{/gist_id}","starred_url":"https://api.github.com/users/DavidOtis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DavidOtis/subscriptions","organizations_url":"https://api.github.com/users/DavidOtis/orgs","repos_url":"https://api.github.com/users/DavidOtis/repos","events_url":"https://api.github.com/users/DavidOtis/events{/privacy}","received_events_url":"https://api.github.com/users/DavidOtis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DavidOtis/CodeIgniter","description":"Open Source PHP Framework (originally from EllisLab)","fork":true,"url":"https://api.github.com/repos/DavidOtis/CodeIgniter","forks_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/forks","keys_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/teams","hooks_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/hooks","issue_events_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/issues/events{/number}","events_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/events","assignees_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/assignees{/user}","branches_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/branches{/branch}","tags_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/tags","blobs_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/git/refs{/sha}","trees_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/statuses/{sha}","languages_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/languages","stargazers_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/stargazers","contributors_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/contributors","subscribers_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/subscribers","subscription_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/subscription","commits_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/commits{/sha}","git_commits_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/git/commits{/sha}","comments_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/comments{/number}","issue_comment_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/issues/comments{/number}","contents_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/contents/{+path}","compare_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/merges","archive_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/downloads","issues_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/issues{/number}","pulls_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/pulls{/number}","milestones_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/milestones{/number}","notifications_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/labels{/name}","releases_url":"https://api.github.com/repos/DavidOtis/CodeIgniter/releases{/id}","created_at":"2015-09-18T23:53:20Z","updated_at":"2015-09-18T23:53:23Z","pushed_at":"2015-12-09T19:07:42Z","git_url":"git://github.com/DavidOtis/CodeIgniter.git","ssh_url":"git@github.com:DavidOtis/CodeIgniter.git","clone_url":"https://github.com/DavidOtis/CodeIgniter.git","svn_url":"https://github.com/DavidOtis/CodeIgniter","homepage":"http://codeigniter.com/","size":42639,"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":"develop"}},"base":{"label":"bcit-ci:feature/exceptions","ref":"feature/exceptions","sha":"2eacf4c50f17cbb74953d47f49c9dbe06521821d","user":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars.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":2234102,"name":"CodeIgniter","full_name":"bcit-ci/CodeIgniter","owner":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars.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/CodeIgniter","description":"Open Source PHP Framework (originally from EllisLab)","fork":false,"url":"https://api.github.com/repos/bcit-ci/CodeIgniter","forks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/forks","keys_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/teams","hooks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/hooks","issue_events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/events{/number}","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/events","assignees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/assignees{/user}","branches_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/branches{/branch}","tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/tags","blobs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/{sha}","languages_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/languages","stargazers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/stargazers","contributors_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/contributors","subscribers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/subscribers","subscription_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/subscription","commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/contents/{+path}","compare_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/merges","archive_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/downloads","issues_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues{/number}","pulls_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls{/number}","milestones_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/milestones{/number}","notifications_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/labels{/name}","releases_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/releases{/id}","created_at":"2011-08-19T13:34:00Z","updated_at":"2015-12-12T07:34:52Z","pushed_at":"2015-12-12T12:10:09Z","git_url":"git://github.com/bcit-ci/CodeIgniter.git","ssh_url":"git@github.com:bcit-ci/CodeIgniter.git","clone_url":"https://github.com/bcit-ci/CodeIgniter.git","svn_url":"https://github.com/bcit-ci/CodeIgniter","homepage":"http://codeigniter.com/","size":84468,"stargazers_count":11221,"watchers_count":11221,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5787,"mirror_url":null,"open_issues_count":67,"forks":5787,"open_issues":67,"watchers":11221,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292"},"html":{"href":"https://github.com/bcit-ci/CodeIgniter/pull/4292"},"issue":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4292"},"comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4292/comments"},"review_comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292/comments"},"review_comment":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4292/commits"},"statuses":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/ecab1d016a3c7ffe59fec5ce3ad9fa4b38750d3d"}}}}