diff options
author | Andreas Fischer <bantu@phpbb.com> | 2011-03-07 16:32:42 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2011-03-07 16:32:42 +0100 |
commit | 21c5e6f149fc7445974d9ee89b825a9e928cbc6e (patch) | |
tree | 894daf9cdb4fea6f8716ca858f71cdc7a4d3790e /tests/bootstrap.php | |
parent | f08cbc73de208dab29737ab53db3af8a6a2d97fc (diff) | |
parent | dec9d243929a08deb054cd836590c2e0d60d14c1 (diff) | |
download | forums-21c5e6f149fc7445974d9ee89b825a9e928cbc6e.tar forums-21c5e6f149fc7445974d9ee89b825a9e928cbc6e.tar.gz forums-21c5e6f149fc7445974d9ee89b825a9e928cbc6e.tar.bz2 forums-21c5e6f149fc7445974d9ee89b825a9e928cbc6e.tar.xz forums-21c5e6f149fc7445974d9ee89b825a9e928cbc6e.zip |
Merge branch 'ticket/naderman/10040' into develop-olympus
* ticket/naderman/10040:
[ticket/10040] Ensure the test suite runs on PHP 5.2 without E_DEPRECATED.
Diffstat (limited to 'tests/bootstrap.php')
-rw-r--r-- | tests/bootstrap.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bootstrap.php b/tests/bootstrap.php index c729c6e2d8..6f3c93a374 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -12,6 +12,10 @@ $phpbb_root_path = 'phpBB/'; $phpEx = 'php'; $table_prefix = 'phpbb_'; +if (!defined('E_DEPRECATED')) +{ + define('E_DEPRECATED', 8192); +} error_reporting(E_ALL & ~E_DEPRECATED); // If we are on PHP >= 6.0.0 we do not need some code |