diff --git a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php index 19afd4dd..6fbb53c1 100644 --- a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php +++ b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php @@ -27,7 +27,7 @@ class MuteExpectedErrorsTest extends PHPUnit_Smarty { $this->cleanDirs(); } - public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = []) + public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = array()) { $this->_errors[] = $errfile . ' line ' . $errline; } diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php index 8eff915f..2e4d6e68 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlCheckboxesTest.php @@ -275,7 +275,7 @@ class PluginFunctionHtmlCheckboxesTest extends PHPUnit_Smarty protected $_errors = array(); - public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = []) + public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = array()) { $this->_errors[] = $errstr; } diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php index fe8c5a06..d9182c4e 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlOptionsTest.php @@ -369,7 +369,7 @@ class PluginFunctionHtmlOptionsTest extends PHPUnit_Smarty protected $_errors = array(); - public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = []) + public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = array()) { $this->_errors[] = $errstr; } diff --git a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php index e8bc8eb2..819d1049 100644 --- a/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php +++ b/tests/UnitTests/TemplateSource/TagTests/PluginFunction/PluginFunctionHtmlRadiosTest.php @@ -275,7 +275,7 @@ class PluginFunctionHtmlRadiosTest extends PHPUnit_Smarty protected $_errors = array(); - public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = []) + public function error_handler($errno, $errstr, $errfile, $errline, $errcontext = array()) { $this->_errors[] = $errstr; }