diff --git a/configdoc/generate.php b/configdoc/generate.php index e0c4e674..275415af 100644 --- a/configdoc/generate.php +++ b/configdoc/generate.php @@ -16,7 +16,7 @@ */ if (version_compare(PHP_VERSION, '5.2', '<')) exit('PHP 5.2+ required.'); -error_reporting(E_ALL | E_STRICT); +error_reporting(E_ALL); // load dual-libraries require_once dirname(__FILE__) . '/../extras/HTMLPurifierExtras.auto.php'; diff --git a/tests/common.php b/tests/common.php index db416ffa..7c914115 100644 --- a/tests/common.php +++ b/tests/common.php @@ -48,7 +48,7 @@ function test_autoload($class) } // after external libraries are loaded, turn on compile time errors -error_reporting(E_ALL | E_STRICT); +error_reporting(E_ALL); // initialize extra HTML Purifier libraries require '../extras/HTMLPurifierExtras.auto.php'; diff --git a/tests/index.php b/tests/index.php index c0ee2491..82f1151c 100644 --- a/tests/index.php +++ b/tests/index.php @@ -23,9 +23,8 @@ * $test_files) do not have underscores in their names. */ -// HTML Purifier runs error free on E_STRICT, so if code reports -// errors, we want to know about it. -error_reporting(E_ALL | E_STRICT); +// HTML Purifier runs error free. +error_reporting(E_ALL); // Because we always want to know about errors, and because SimpleTest // will notify us about them, logging the errors to stderr is