From 2cce967eb09edd6ef35238c68f8ff5ed2348f5fd Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Wed, 6 Nov 2019 13:16:00 +0100 Subject: Tests: Replaced duplicates and formatting/cleanup --- tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php') diff --git a/tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php b/tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php index 2f64360e..921a06a3 100644 --- a/tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php +++ b/tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php @@ -3,6 +3,7 @@ namespace Engelsystem\Test\Unit\Renderer\Twig\Extensions; use DMS\PHPUnitExtensions\ArraySubset\ArraySubsetAsserts; +use Exception; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use Twig_Function as TwigFunction; @@ -39,7 +40,8 @@ abstract class ExtensionTest extends TestCase * @param string $name * @param callable $callback * @param TwigFunction[] $functions - * @param array $options + * @param array $options + * @throws Exception */ protected function assertExtensionExists($name, $callback, $functions, $options = []) { @@ -69,6 +71,7 @@ abstract class ExtensionTest extends TestCase * @param string $name * @param mixed $value * @param mixed[] $globals + * @throws Exception */ protected function assertGlobalsExists($name, $value, $globals) { @@ -86,6 +89,7 @@ abstract class ExtensionTest extends TestCase * * @param $tokenParser * @param $tokenParsers + * @throws Exception */ protected function assertTokenParserExists($tokenParser, $tokenParsers) { -- cgit v1.2.3-54-g00ecf