]> git.mxchange.org Git - friendica.git/blobdiff - static/dependencies.config.php
Merge pull request #12619 from MrPetovan/task/12617-remove-no_auto_update
[friendica.git] / static / dependencies.config.php
index f7f98bb6763e5088688f4789ad6c5c600c51ee9f..1844001bb4945123c7defbef9face6c707288940 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -76,7 +76,7 @@ return [
                        $_SERVER
                ]
        ],
-       Config\Util\ConfigFileLoader::class => [
+       Config\Util\ConfigFileManager::class => [
                'instanceOf' => Config\Factory\Config::class,
                'call'       => [
                        ['createConfigFileLoader', [
@@ -98,9 +98,9 @@ return [
                ],
        ],
        Config\Capability\IManageConfigValues::class => [
-               'instanceOf' => Config\Factory\Config::class,
-               'call'       => [
-                       ['create', [], Dice::CHAIN_CALL],
+               'instanceOf' => Config\Model\Config::class,
+               'constructParams' => [
+                       $_SERVER,
                ],
        ],
        PConfig\Capability\IManagePersonalConfigValues::class => [
@@ -176,6 +176,12 @@ return [
                        ['createDev', [], Dice::CHAIN_CALL],
                ]
        ],
+       \Friendica\Core\Logger\Capabilities\IHaveCallIntrospections::class => [
+               'instanceOf' => \Friendica\Core\Logger\Util\Introspection::class,
+               'constructParams' => [
+                       \Friendica\Core\Logger\Util\Introspection::IGNORE_CLASS_LIST,
+               ],
+       ],
        Cache\Capability\ICanCache::class => [
                'instanceOf' => Cache\Factory\Cache::class,
                'call'       => [
@@ -239,6 +245,9 @@ return [
                        ['getBackend', [], Dice::CHAIN_CALL],
                ],
        ],
+       \Friendica\Core\KeyValueStorage\Capabilities\IManageKeyValuePairs::class => [
+               'instanceOf' => \Friendica\Core\KeyValueStorage\Type\DBKeyValueStorage::class,
+       ],
        Network\HTTPClient\Capability\ICanSendHttpRequests::class => [
                'instanceOf' => Network\HTTPClient\Factory\HttpClient::class,
                'call'       => [
@@ -264,5 +273,13 @@ return [
                'constructParams' => [
                        $_SERVER
                ],
-       ]
+       ],
+       \Psr\Clock\ClockInterface::class => [
+               'instanceOf' => Util\Clock\SystemClock::class
+       ],
+       \Friendica\Module\Special\HTTPException::class => [
+               'constructParams' => [
+                       $_SERVER
+               ],
+       ],
 ];