1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/13961] Move back service_collections under original namespace

PHPBB3-13961
This commit is contained in:
Mate Bartus
2015-06-26 01:02:04 +02:00
parent 050de400d7
commit b09293d5ff
25 changed files with 38 additions and 38 deletions

View File

@@ -14,7 +14,7 @@
class phpbb_ordered_service_collection_test extends \phpbb_test_case
{
/**
* @var \phpbb\di\service_collection\ordered_service_collection
* @var \phpbb\di\ordered_service_collection
*/
protected $service_collection;
@@ -26,7 +26,7 @@ class phpbb_ordered_service_collection_test extends \phpbb_test_case
$container->set('foobar', new StdClass);
$container->set('barfoo', new StdClass);
$this->service_collection = new \phpbb\di\service_collection\ordered_service_collection($container);
$this->service_collection = new \phpbb\di\ordered_service_collection($container);
$this->service_collection->add('foo', 7);
$this->service_collection->add('bar', 3);
$this->service_collection->add('barfoo', 5);

View File

@@ -14,7 +14,7 @@
class phpbb_service_collection_test extends \phpbb_test_case
{
/**
* @var \phpbb\di\service_collection\service_collection
* @var \phpbb\di\service_collection
*/
protected $service_collection;
@@ -24,7 +24,7 @@ class phpbb_service_collection_test extends \phpbb_test_case
$container->set('foo', new StdClass);
$container->set('bar', new StdClass);
$this->service_collection = new \phpbb\di\service_collection\service_collection($container);
$this->service_collection = new \phpbb\di\service_collection($container);
$this->service_collection->add('foo');
$this->service_collection->add('bar');

View File

@@ -46,7 +46,7 @@ class phpbb_functions_user_delete_test extends phpbb_database_test_case
$notification_manager = new phpbb_mock_notification_manager();
$provider_collection = new \phpbb\auth\provider_collection($phpbb_container, $config);
$oauth_provider_google = new \phpbb\auth\provider\oauth\service\google($config, $request);
$oauth_provider_collection = new \phpbb\di\service_collection\service_collection($phpbb_container);
$oauth_provider_collection = new \phpbb\di\service_collection($phpbb_container);
$oauth_provider_collection->offsetSet('auth.provider.oauth.service.google', $oauth_provider_google);
$driver_helper = new \phpbb\passwords\driver\helper($config);

View File

@@ -30,7 +30,7 @@ class phpbb_session_garbage_collection_test extends phpbb_session_test_case
global $phpbb_container;
$plugins = new \phpbb\di\service_collection\service_collection($phpbb_container);
$plugins = new \phpbb\di\service_collection($phpbb_container);
$plugins->add('core.captcha.plugins.nogd');
$phpbb_container->set(
'captcha.factory',