set_error_handler( function( $errno, $errstr, $errfile, $errline, $errcontext ) {
	$err = "Error: $errstr";
	if ( $errfile ) {
		$err .= " in $errfile";
		if ( $errline ) {
			$err .= ", line $errline";
		}
	}
	$err .= '.';
	die( $err );
}, E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE );
set_error_handler( function( $errno, $errstr, $errfile, $errline, $errcontext ) {
	$err = "Error: $errstr";
	if ( $errfile ) {
		$err .= " in $errfile";
		if ( $errline ) {
			$err .= ", line $errline";
		}
	}
	$err .= ".\n";
	die( $err );
}, E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE );
Add a newline after warnings_as_errors messages
Add a newline after warnings_as_errors messages

Change-Id: Ie6ca2fa4b56282ad2282388376f90e7f4a4e60e2
