mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 18:54:08 +02:00
[ticket/11700] Fix tests after merging new develop code
PHPBB3-11700
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\template;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
@@ -15,13 +17,13 @@ if (!defined('IN_PHPBB'))
|
||||
exit;
|
||||
}
|
||||
|
||||
abstract class phpbb_template_base implements phpbb_template
|
||||
abstract class base implements template
|
||||
{
|
||||
/**
|
||||
* Template context.
|
||||
* Stores template data used during template rendering.
|
||||
*
|
||||
* @var phpbb_template_context
|
||||
* @var \phpbb\template\context
|
||||
*/
|
||||
protected $context;
|
||||
|
||||
|
@@ -7,6 +7,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\template\twig;
|
||||
|
||||
/**
|
||||
* @ignore
|
||||
*/
|
||||
@@ -19,7 +21,7 @@ if (!defined('IN_PHPBB'))
|
||||
* Twig Template loader
|
||||
* @package phpBB3
|
||||
*/
|
||||
class phpbb_template_twig_loader extends Twig_Loader_Filesystem
|
||||
class loader extends \Twig_Loader_Filesystem
|
||||
{
|
||||
protected $safe_directories = array();
|
||||
|
||||
|
@@ -73,5 +73,5 @@ abstract class includeasset extends \Twig_Node
|
||||
* @param Twig_Compiler A Twig_Compiler instance
|
||||
* @return null
|
||||
*/
|
||||
abstract protected function append_asset(Twig_Compiler $compiler);
|
||||
abstract protected function append_asset(\Twig_Compiler $compiler);
|
||||
}
|
||||
|
@@ -22,7 +22,7 @@ class includecss extends \phpbb\template\twig\node\includeasset
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function append_asset(Twig_Compiler $compiler)
|
||||
public function append_asset(\Twig_Compiler $compiler)
|
||||
{
|
||||
$compiler
|
||||
->raw("<link href=\"' . ")
|
||||
|
@@ -22,7 +22,7 @@ class includejs extends \phpbb\template\twig\node\includeasset
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
protected function append_asset(Twig_Compiler $compiler)
|
||||
protected function append_asset(\Twig_Compiler $compiler)
|
||||
{
|
||||
$config = $this->environment->get_phpbb_config();
|
||||
|
||||
|
Reference in New Issue
Block a user