From: Philipp Date: Fri, 21 Jul 2023 20:41:35 +0000 (+0200) Subject: Adhere feedback X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d9c54193518678408093f21101b1bcc1c5796d57;p=friendica-addons.git Adhere feedback - rename hooks.config.php to strategies.config.php - change all corresponding classes and tests --- diff --git a/monolog/static/hooks.config.php b/monolog/static/hooks.config.php deleted file mode 100644 index 7759e678..00000000 --- a/monolog/static/hooks.config.php +++ /dev/null @@ -1,30 +0,0 @@ -. - * - */ - -use Friendica\Core\Hooks\Capabilities\BehavioralHookType as H; - -return [ - H::STRATEGY => [ - \Psr\Log\LoggerInterface::class => [ - \Monolog\Logger::class => ['monolog'], - ], - ], -]; diff --git a/monolog/static/strategies.config.php b/monolog/static/strategies.config.php new file mode 100644 index 00000000..87153839 --- /dev/null +++ b/monolog/static/strategies.config.php @@ -0,0 +1,26 @@ +. + * + */ + +return [ + \Psr\Log\LoggerInterface::class => [ + \Monolog\Logger::class => ['monolog'], + ], +];