1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-13 01:23:59 +02:00

[fix] Remove occurrences of E_STRICT

Signed-off-by: Edward Z. Yang <ezyang@meta.com>
This commit is contained in:
Edward Z. Yang
2024-11-09 19:13:09 -05:00
parent cb56001e54
commit 7f7ea68432
3 changed files with 4 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ if ( is_string($GLOBALS['HTMLPurifierTest']['PEAR']) ) {
}
// 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';

View File

@@ -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