From c454b24d92ae2faf3037b39d48f5a02fb03b6a4a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 27 Mar 2019 00:35:34 +0000 Subject: [PATCH] PHPCS: Fix WPCS violations in [45023]. See #46620. git-svn-id: https://develop.svn.wordpress.org/trunk@45025 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-fatal-error-handler.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-fatal-error-handler.php b/src/wp-includes/class-wp-fatal-error-handler.php index fa189cc57d..8ec87c9e24 100644 --- a/src/wp-includes/class-wp-fatal-error-handler.php +++ b/src/wp-includes/class-wp-fatal-error-handler.php @@ -185,9 +185,13 @@ class WP_Fatal_Error_Handler { */ $args = apply_filters( 'wp_php_error_args', $args, $error ); - $wp_error = new WP_Error( 'internal_server_error', $message, array( - 'error' => $error, - ) ); + $wp_error = new WP_Error( + 'internal_server_error', + $message, + array( + 'error' => $error, + ) + ); wp_die( $wp_error, '', $args ); }