]> git.mxchange.org Git - core.git/blobdiff - inc/main/exceptions/class_FrameworkException.php
Continued:
[core.git] / inc / main / exceptions / class_FrameworkException.php
index 454c1028e888d3f9a8cc9192d58f0a22a0fe9acb..866e59f7d0b2f028ed5c7b84cebd34be6ab1dfbe 100644 (file)
@@ -61,7 +61,8 @@ abstract class FrameworkException extends ReflectionException {
                // In emergency exit?
                if (defined('EMERGENCY_EXIT_CALLED')) {
                        // Output message
-                       printf("[%s:] Message: %s, Backtrace: <pre>%s</pre>",
+                       printf(
+                               '[%s:] Message: %s, Backtrace: <pre>%s</pre>',
                                $this->__toString(),
                                $message,
                                $this->getPrintableBackTrace()
@@ -74,7 +75,8 @@ abstract class FrameworkException extends ReflectionException {
                // Should we log exceptions? (bad implementation)
                if (defined('LOG_EXCEPTIONS')) {
                        // Log the error
-                       error_log(sprintf("[%s:] %s (%s)",
+                       error_log(sprintf(
+                               '[%s:] %s (%s)',
                                $this->__toString(),
                                $message,
                                $this->getHexCode()