mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 09:46:46 +02:00
[task/phpunit-xml] Force error reporting level E_ALL | ~E_DEPRECATED.
PHPBB3-9967
This commit is contained in:
@@ -12,6 +12,8 @@ $phpbb_root_path = 'phpBB/';
|
|||||||
$phpEx = 'php';
|
$phpEx = 'php';
|
||||||
$table_prefix = '';
|
$table_prefix = '';
|
||||||
|
|
||||||
|
error_reporting(E_ALL & ~E_DEPRECATED);
|
||||||
|
|
||||||
// If we are on PHP >= 6.0.0 we do not need some code
|
// If we are on PHP >= 6.0.0 we do not need some code
|
||||||
if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
|
if (version_compare(PHP_VERSION, '6.0.0-dev', '>='))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user