From 8051ccd8be1e3fcb00ba89820587f43c9286f952 Mon Sep 17 00:00:00 2001 From: "J.D. Grimes" Date: Tue, 14 Nov 2017 16:58:01 -0500 Subject: [PATCH] Catch all errors during installation Fixes #5 --- src/bin/bootstrap.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/bootstrap.php b/src/bin/bootstrap.php index 3ea4f05..0162f9c 100644 --- a/src/bin/bootstrap.php +++ b/src/bin/bootstrap.php @@ -10,6 +10,9 @@ * @since 0.1.0 */ +// Exit the script for all warnings and notices. +ini_set( 'xdebug.halt_level', E_WARNING | E_NOTICE | E_USER_WARNING | E_USER_NOTICE ); + /** * The WordPress config file. *