aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-07 16:32:42 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-07 16:32:42 +0100
commit21c5e6f149fc7445974d9ee89b825a9e928cbc6e (patch)
tree894daf9cdb4fea6f8716ca858f71cdc7a4d3790e /tests/bootstrap.php
parentf08cbc73de208dab29737ab53db3af8a6a2d97fc (diff)
parentdec9d243929a08deb054cd836590c2e0d60d14c1 (diff)
downloadforums-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.php4
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