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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user