1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-14 12:40:13 +01:00

[task/phpunit-xml] Force error reporting level E_ALL | ~E_DEPRECATED.

PHPBB3-9967
This commit is contained in:
Nils Adermann 2011-01-07 00:16:28 +01:00
parent 9a52bd0301
commit b720edb05b

View File

@ -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', '>='))
{