mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[task/phpunit-xml] Force error reporting level E_ALL | ~E_DEPRECATED.
PHPBB3-9967
This commit is contained in:
parent
9a52bd0301
commit
b720edb05b
1 changed files with 2 additions and 0 deletions
|
@ -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', '>='))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue