1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/14990] Move dispatcher object to the front of the options array

PHPBB3-14990
This commit is contained in:
rxu
2017-04-16 20:53:59 +07:00
parent 1ea114ca20
commit fcc8e155ec
12 changed files with 15 additions and 10 deletions

View File

@@ -81,13 +81,13 @@ class phpbb_email_parsing_test extends phpbb_test_case
$cache_path,
null,
new \phpbb\template\twig\loader($filesystem, ''),
new \phpbb\event\dispatcher($phpbb_container),
array(
'cache' => false,
'debug' => false,
'auto_reload' => true,
'autoescape' => false,
),
new \phpbb\event\dispatcher($phpbb_container)
)
);
$twig->addExtension($twig_extension);
$phpbb_container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));