disable closure for PHP 5.2

This commit is contained in:
uwetews
2017-05-21 18:57:16 +02:00
parent 6fcb23196a
commit ae311ee2e8

View File

@@ -189,6 +189,7 @@ class FilterTest extends PHPUnit_Smarty
* test registered pre filter closure * test registered pre filter closure
* @requires PHP 5.3 * @requires PHP 5.3
*/ */
/**
public function testRegisteredPreFilterClosure() public function testRegisteredPreFilterClosure()
{ {
if (version_compare(PHP_VERSION,'5.3','<')) if (version_compare(PHP_VERSION,'5.3','<'))
@@ -202,7 +203,7 @@ class FilterTest extends PHPUnit_Smarty
$tpl->assign('foo', 'buh'); $tpl->assign('foo', 'buh');
$this->assertEquals("buh hello world", $this->smarty->fetch($tpl)); $this->assertEquals("buh hello world", $this->smarty->fetch($tpl));
} }
*/
/** /**
* test registered pre filter class * test registered pre filter class
*/ */