diff options
author | Nils Adermann <naderman@naderman.de> | 2011-01-07 00:16:28 +0100 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2011-01-07 00:19:00 +0100 |
commit | b720edb05bafb1a5f75da049226c2c8270511f92 (patch) | |
tree | 50b6504c6d6cf7fbd66fae0228128c5d018434b5 | |
parent | 9a52bd030189280f48a35d3b9e52f9d77071cb5e (diff) | |
download | forums-b720edb05bafb1a5f75da049226c2c8270511f92.tar forums-b720edb05bafb1a5f75da049226c2c8270511f92.tar.gz forums-b720edb05bafb1a5f75da049226c2c8270511f92.tar.bz2 forums-b720edb05bafb1a5f75da049226c2c8270511f92.tar.xz forums-b720edb05bafb1a5f75da049226c2c8270511f92.zip |
[task/phpunit-xml] Force error reporting level E_ALL | ~E_DEPRECATED.
PHPBB3-9967
-rw-r--r-- | tests/bootstrap.php | 2 |
1 files changed, 2 insertions, 0 deletions
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', '>=')) { |