From f1405cdb6c5bc643c13dc2a18997f0e6787085a9 Mon Sep 17 00:00:00 2001 From: Art4 Date: Mon, 23 Dec 2024 14:06:04 +0000 Subject: [PATCH] Replace Config class names with FQCN --- static/dependencies.config.php | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/static/dependencies.config.php b/static/dependencies.config.php index 59d8caa944..29cee155ba 100644 --- a/static/dependencies.config.php +++ b/static/dependencies.config.php @@ -22,7 +22,6 @@ */ use Dice\Dice; -use Friendica\Core\Config; use Friendica\Core\Hooks\Capability\ICanCreateInstances; use Friendica\Core\Hooks\Capability\ICanRegisterStrategies; use Friendica\Core\Hooks\Model\DiceInstanceManager; @@ -93,8 +92,8 @@ return (function(): array { [Dice::INSTANCE => Dice::SELF], ], ], - Config\Util\ConfigFileManager::class => [ - 'instanceOf' => Config\Factory\Config::class, + \Friendica\Core\Config\Util\ConfigFileManager::class => [ + 'instanceOf' => \Friendica\Core\Config\Factory\Config::class, 'call' => [ ['createConfigFileManager', [ $basepath, @@ -102,8 +101,8 @@ return (function(): array { ], Dice::CHAIN_CALL], ], ], - Config\ValueObject\Cache::class => [ - 'instanceOf' => Config\Factory\Config::class, + \Friendica\Core\Config\ValueObject\Cache::class => [ + 'instanceOf' => \Friendica\Core\Config\Factory\Config::class, 'call' => [ ['createCache', [], Dice::CHAIN_CALL], ], @@ -116,8 +115,8 @@ return (function(): array { ], Dice::CHAIN_CALL], ], ], - Config\Capability\IManageConfigValues::class => [ - 'instanceOf' => Config\Model\DatabaseConfig::class, + \Friendica\Core\Config\Capability\IManageConfigValues::class => [ + 'instanceOf' => \Friendica\Core\Config\Model\DatabaseConfig::class, 'constructParams' => [ $_SERVER, ], @@ -146,7 +145,7 @@ return (function(): array { ], Database::class => [ 'constructParams' => [ - [Dice::INSTANCE => Config\Model\ReadOnlyFileConfig::class], + [Dice::INSTANCE => \Friendica\Core\Config\Model\ReadOnlyFileConfig::class], ], ], /**