From abba77a80bc670466a6f0aeba562d6357d8081d3 Mon Sep 17 00:00:00 2001 From: "Edward Z. Yang" Date: Sun, 14 Jul 2019 14:04:12 -0400 Subject: [PATCH] Recent PHPs default to display_error=0, override this in index.php Signed-off-by: Edward Z. Yang --- tests/index.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/index.php b/tests/index.php index bcd1de35..c0ee2491 100644 --- a/tests/index.php +++ b/tests/index.php @@ -33,6 +33,10 @@ error_reporting(E_ALL | E_STRICT); // exercises an error condition to detect for it. ini_set('log_errors', false); +// But make it easier for us to debug if there is some misconfiguration +// in the initial setup of the tests. +ini_set('display_errors', true); + define('HTMLPurifierTest', 1); define('HTMLPURIFIER_SCHEMA_STRICT', true); // validate schemas chdir(dirname(__FILE__));