1
0
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:
Nils Adermann
2013-09-16 02:41:03 +02:00
parent 21bbb58503
commit 2472271bc0
20 changed files with 98 additions and 91 deletions

View File

@@ -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;

View File

@@ -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();

View File

@@ -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);
}

View File

@@ -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=\"' . ")

View File

@@ -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();