From a6f6f6fd6da487b0d69a12d902b75ca58a0307da Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Thu, 30 Jul 2015 01:50:45 +0200 Subject: [PATCH] update --- .../TemplateSource/TagTests/Section/CompileSectionTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php b/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php index 2d23e068..f73c4120 100644 --- a/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/Section/CompileSectionTest.php @@ -16,6 +16,8 @@ class CompileSectionTest extends PHPUnit_Smarty public function setUp() { $this->setUpSmarty(__DIR__); + error_reporting(E_ALL | E_STRICT); + $this->smarty->setErrorReporting(error_reporting() & ~(E_NOTICE | E_USER_NOTICE)); }