aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bootstrap.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-03-07 16:32:58 +0100
committerAndreas Fischer <bantu@phpbb.com>2011-03-07 16:32:58 +0100
commitbd03419f87aa98575d9f82745568635b88a9be0e (patch)
tree69f6aa0499e7afd7be267dc4ee03fb0688aecf80 /tests/bootstrap.php
parentf0b36961fc4fe6d124371ab3073f30271bcb2956 (diff)
parent21c5e6f149fc7445974d9ee89b825a9e928cbc6e (diff)
downloadforums-bd03419f87aa98575d9f82745568635b88a9be0e.tar
forums-bd03419f87aa98575d9f82745568635b88a9be0e.tar.gz
forums-bd03419f87aa98575d9f82745568635b88a9be0e.tar.bz2
forums-bd03419f87aa98575d9f82745568635b88a9be0e.tar.xz
forums-bd03419f87aa98575d9f82745568635b88a9be0e.zip
Merge branch 'develop-olympus' into develop
* develop-olympus: [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 8c4f1ed874..b7c3534cde 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