diff options
author | kenjis <kenji.uui@gmail.com> | 2015-07-21 01:15:34 +0200 |
---|---|---|
committer | kenjis <kenji.uui@gmail.com> | 2015-07-21 01:22:08 +0200 |
commit | 3d30c69bbdba55aa85def9355a0fa3135e06ad61 (patch) | |
tree | aa65c6e8611943def651f126726b8e722dd7abed /application/views/errors/cli | |
parent | d3ac964d356eea78c5a4d894915caf084e54ce18 (diff) |
Fix coding style
Signed-off-by: Kenji Suzuki <kenji.uui@gmail.com>
Diffstat (limited to 'application/views/errors/cli')
-rw-r--r-- | application/views/errors/cli/error_exception.php | 6 | ||||
-rw-r--r-- | application/views/errors/cli/error_php.php | 14 |
2 files changed, 10 insertions, 10 deletions
diff --git a/application/views/errors/cli/error_exception.php b/application/views/errors/cli/error_exception.php index 0203cf467..f7097c762 100644 --- a/application/views/errors/cli/error_exception.php +++ b/application/views/errors/cli/error_exception.php @@ -2,10 +2,10 @@ An uncaught Exception was encountered -Type: <?php echo get_class($exception), "\n"; ?> -Message: <?php echo $message, "\n"; ?> +Type: <?php echo get_class($exception), "\n"; ?> +Message: <?php echo $message, "\n"; ?> Filename: <?php echo $exception->getFile(), "\n"; ?> -Line Number: <?php echo $exception->getLine(), "\n"; ?> +Line Number: <?php echo $exception->getLine(); ?> <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> diff --git a/application/views/errors/cli/error_php.php b/application/views/errors/cli/error_php.php index 0ea9109fa..b3af731aa 100644 --- a/application/views/errors/cli/error_php.php +++ b/application/views/errors/cli/error_php.php @@ -2,19 +2,19 @@ A PHP Error was encountered -Severity: <?php echo $severity, "\n";?> -Message: <?php echo $message, "\n";?> -Filename: <?php echo $filepath, "\n";?> -Line Number: <?php echo $line;?> +Severity: <?php echo $severity, "\n"; ?> +Message: <?php echo $message, "\n"; ?> +Filename: <?php echo $filepath, "\n"; ?> +Line Number: <?php echo $line; ?> <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> Backtrace: <?php foreach (debug_backtrace() as $error): ?> <?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?> - File: <?php echo $error['file'], "\n";?> - Line: <?php echo $error['line'], "\n";?> - Function: <?php echo $error['function'], "\n\n";?> + File: <?php echo $error['file'], "\n"; ?> + Line: <?php echo $error['line'], "\n"; ?> + Function: <?php echo $error['function'], "\n\n"; ?> <?php endif ?> <?php endforeach ?> |