mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 07:21:30 +02:00
[ticket/13616] Updates direct call to twig environment constructor
PHPBB3-13616
This commit is contained in:
@@ -64,7 +64,6 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case
|
||||
$config,
|
||||
$filesystem,
|
||||
$path_helper,
|
||||
$container,
|
||||
$cache_path,
|
||||
$this->extension_manager,
|
||||
$loader,
|
||||
@@ -76,7 +75,7 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case
|
||||
)
|
||||
);
|
||||
$this->template = new \phpbb\template\twig\twig($path_helper, $config, $context, $twig, $cache_path, $this->user, array(new \phpbb\template\twig\extension($context, $this->user)), $this->extension_manager);
|
||||
$container->set('template.twig.lexer', new \phpbb\template\twig\lexer($twig));
|
||||
$twig->setLexer(new \phpbb\template\twig\lexer($twig));
|
||||
|
||||
$this->template_path = $this->test_path . '/templates';
|
||||
$this->ext_template_path = 'tests/extension/ext/vendor4/bar/styles/all/template';
|
||||
|
Reference in New Issue
Block a user