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)); }