mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-13 12:14:06 +02:00
[ticket/11700] Move all recent code to namespaces
PHPBB3-11700
This commit is contained in:
@@ -90,14 +90,14 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
protected function create_extension_manager($with_cache = true)
|
||||
{
|
||||
|
||||
$config = new phpbb_config(array());
|
||||
$config = new \phpbb\config\config(array());
|
||||
$db = $this->new_dbal();
|
||||
$db_tools = new phpbb_db_tools($db);
|
||||
$db_tools = new \phpbb\db\tools($db);
|
||||
$phpbb_root_path = __DIR__ . './../../phpBB/';
|
||||
$php_ext = 'php';
|
||||
$table_prefix = 'phpbb_';
|
||||
|
||||
$migrator = new phpbb_db_migrator(
|
||||
$migrator = new \phpbb\db\migrator(
|
||||
$config,
|
||||
$db,
|
||||
$db_tools,
|
||||
@@ -110,11 +110,11 @@ class phpbb_extension_manager_test extends phpbb_database_test_case
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->set('migrator', $migrator);
|
||||
|
||||
return new phpbb_extension_manager(
|
||||
return new \phpbb\extension\manager(
|
||||
$container,
|
||||
$db,
|
||||
$config,
|
||||
new phpbb_filesystem(),
|
||||
new \phpbb\filesystem(),
|
||||
'phpbb_ext',
|
||||
dirname(__FILE__) . '/',
|
||||
$php_ext,
|
||||
|
Reference in New Issue
Block a user