From 3c7f0826d3bd3844489e06863f72bcca3ab35b37 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Mon, 9 Oct 2017 10:21:16 +0200 Subject: [PATCH] Update error_reporting setting --- tests/PHPUnit_Smarty.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php index fdcd6897..3f411651 100644 --- a/tests/PHPUnit_Smarty.php +++ b/tests/PHPUnit_Smarty.php @@ -88,7 +88,7 @@ class PHPUnit_Smarty extends PHPUnit_Framework_TestCase */ public static function setUpBeforeClass() { - error_reporting(E_ALL | E_STRICT); + error_reporting(E_ALL & ~E_DEPRECATED & ~E_STRICT); self::$init = true; self::$pluginsdir =self::getSmartyPluginsDir(); }