File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 1616*/
1717
1818if (version_compare (PHP_VERSION , '5.2 ' , '< ' )) exit ('PHP 5.2+ required. ' );
19- error_reporting (E_ALL | E_STRICT );
19+ error_reporting (E_ALL );
2020
2121// load dual-libraries
2222require_once dirname (__FILE__ ) . '/../extras/HTMLPurifierExtras.auto.php ' ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ function test_autoload($class)
4848}
4949
5050// after external libraries are loaded, turn on compile time errors
51- error_reporting (E_ALL | E_STRICT );
51+ error_reporting (E_ALL );
5252
5353// initialize extra HTML Purifier libraries
5454require '../extras/HTMLPurifierExtras.auto.php ' ;
Original file line number Diff line number Diff line change 2323 * $test_files) do not have underscores in their names.
2424 */
2525
26- // HTML Purifier runs error free on E_STRICT, so if code reports
27- // errors, we want to know about it.
28- error_reporting (E_ALL | E_STRICT );
26+ // HTML Purifier runs error free.
27+ error_reporting (E_ALL );
2928
3029// Because we always want to know about errors, and because SimpleTest
3130// will notify us about them, logging the errors to stderr is
You can’t perform that action at this time.
0 commit comments