mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +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';
|
$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', '>='))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue