diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-11-06 13:16:00 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-11-06 13:16:00 +0100 |
commit | 2cce967eb09edd6ef35238c68f8ff5ed2348f5fd (patch) | |
tree | 8848ca509d5a37cf699120e57abdd80e53443c0b /tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php | |
parent | 867d720f150dc5a728a092f8d66d8b1c1a5efc5a (diff) |
Tests: Replaced duplicates and formatting/cleanup
Diffstat (limited to 'tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php')
-rw-r--r-- | tests/Unit/Renderer/Twig/Extensions/ExtensionTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
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) { |