From 502ddadf8a03b1c5cbbbb73bc3d03ddc04f4fdd8 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Tue, 13 Dec 2016 11:22:32 +0100 Subject: [PATCH] simplified code --- test/Twig/Tests/CustomExtensionTest.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/test/Twig/Tests/CustomExtensionTest.php b/test/Twig/Tests/CustomExtensionTest.php index 9c298f4e7..d748b6d21 100644 --- a/test/Twig/Tests/CustomExtensionTest.php +++ b/test/Twig/Tests/CustomExtensionTest.php @@ -12,7 +12,6 @@ class CustomExtensionTest extends PHPUnit_Framework_TestCase { /** - * @requires PHP 5.3 * @dataProvider provideInvalidExtensions */ public function testGetInvalidOperators(Twig_ExtensionInterface $extension, $expectedExceptionMessage) @@ -42,10 +41,6 @@ class InvalidOperatorExtension implements Twig_ExtensionInterface $this->operators = $operators; } - public function initRuntime(Twig_Environment $environment) - { - } - public function getTokenParsers() { return array(); @@ -71,18 +66,8 @@ class InvalidOperatorExtension implements Twig_ExtensionInterface return array(); } - public function getGlobals() - { - return array(); - } - public function getOperators() { return $this->operators; } - - public function getName() - { - return __CLASS__; - } }