From b720edb05bafb1a5f75da049226c2c8270511f92 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Fri, 7 Jan 2011 00:16:28 +0100 Subject: [PATCH] [task/phpunit-xml] Force error reporting level E_ALL | ~E_DEPRECATED. PHPBB3-9967 --- tests/bootstrap.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 9683ba0d47..99f145e427 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -12,6 +12,8 @@ $phpbb_root_path = 'phpBB/'; $phpEx = 'php'; $table_prefix = ''; +error_reporting(E_ALL & ~E_DEPRECATED); + // If we are on PHP >= 6.0.0 we do not need some code if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) {