mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-03 05:56:43 +00:00
10 lines
316 B
Plaintext
10 lines
316 B
Plaintext
--TEST--
|
|
Exception for multiline function with unknown argument
|
|
--TEMPLATE--
|
|
{{ include('foo',
|
|
with_context=True,
|
|
invalid=False
|
|
) }}
|
|
--EXCEPTION--
|
|
Twig\Error\SyntaxError: Unknown argument "invalid" for function "include(template, variables, with_context, ignore_missing, sandboxed)" in "index.twig" at line 4.
|