{"action":"created","issue":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3988","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3988/labels{/name}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3988/comments","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3988/events","html_url":"https://github.com/bcit-ci/CodeIgniter/pull/3988","id":96186940,"number":3988,"title":"Fix coding style in CLI error templates","user":{"login":"kenjis","id":87955,"avatar_url":"https://avatars.githubusercontent.com/u/87955?v=3","gravatar_id":"","url":"https://api.github.com/users/kenjis","html_url":"https://github.com/kenjis","followers_url":"https://api.github.com/users/kenjis/followers","following_url":"https://api.github.com/users/kenjis/following{/other_user}","gists_url":"https://api.github.com/users/kenjis/gists{/gist_id}","starred_url":"https://api.github.com/users/kenjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenjis/subscriptions","organizations_url":"https://api.github.com/users/kenjis/orgs","repos_url":"https://api.github.com/users/kenjis/repos","events_url":"https://api.github.com/users/kenjis/events{/privacy}","received_events_url":"https://api.github.com/users/kenjis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-20T23:23:51Z","updated_at":"2015-07-24T23:54:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/3988","html_url":"https://github.com/bcit-ci/CodeIgniter/pull/3988","diff_url":"https://github.com/bcit-ci/CodeIgniter/pull/3988.diff","patch_url":"https://github.com/bcit-ci/CodeIgniter/pull/3988.patch"},"body":"Fix coding style exactly the same in two error templates.\r\n\r\n~~~diff\r\n--- error_exception.php\t2015-07-21 08:21:16.000000000 +0900\r\n+++ error_php.php\t2015-07-21 08:13:20.000000000 +0900\r\n@@ -1,16 +1,16 @@\r\n <?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>\r\n \r\n-An uncaught Exception was encountered\r\n+A PHP Error was encountered\r\n \r\n-Type:     <?php echo get_class($exception), \"\\n\"; ?>\r\n+Severity: <?php echo $severity, \"\\n\"; ?>\r\n Message:  <?php echo $message, \"\\n\"; ?>\r\n-Filename: <?php echo $exception->getFile(), \"\\n\"; ?>\r\n-Line Number: <?php echo $exception->getLine(); ?>\r\n+Filename: <?php echo $filepath, \"\\n\"; ?>\r\n+Line Number: <?php echo $line; ?>\r\n \r\n <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>\r\n \r\n Backtrace:\r\n-<?php\tforeach ($exception->getTrace() as $error): ?>\r\n+<?php\tforeach (debug_backtrace() as $error): ?>\r\n <?php\t\tif (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>\r\n \tFile: <?php echo $error['file'], \"\\n\"; ?>\r\n \tLine: <?php echo $error['line'], \"\\n\"; ?>\r\n~~~\r\n\r\nRelated: #3983\r\n"},"comment":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/comments/124770091","html_url":"https://github.com/bcit-ci/CodeIgniter/pull/3988#issuecomment-124770091","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/3988","id":124770091,"user":{"login":"kenjis","id":87955,"avatar_url":"https://avatars.githubusercontent.com/u/87955?v=3","gravatar_id":"","url":"https://api.github.com/users/kenjis","html_url":"https://github.com/kenjis","followers_url":"https://api.github.com/users/kenjis/followers","following_url":"https://api.github.com/users/kenjis/following{/other_user}","gists_url":"https://api.github.com/users/kenjis/gists{/gist_id}","starred_url":"https://api.github.com/users/kenjis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenjis/subscriptions","organizations_url":"https://api.github.com/users/kenjis/orgs","repos_url":"https://api.github.com/users/kenjis/repos","events_url":"https://api.github.com/users/kenjis/events{/privacy}","received_events_url":"https://api.github.com/users/kenjis/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T23:54:04Z","updated_at":"2015-07-24T23:54:04Z","body":"I'll fix this PR. Please wait."}}