From d9c54193518678408093f21101b1bcc1c5796d57 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 21 Jul 2023 22:41:35 +0200 Subject: [PATCH] Adhere feedback - rename hooks.config.php to strategies.config.php - change all corresponding classes and tests --- .../static/{hooks.config.php => strategies.config.php} | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) rename monolog/static/{hooks.config.php => strategies.config.php} (83%) diff --git a/monolog/static/hooks.config.php b/monolog/static/strategies.config.php similarity index 83% rename from monolog/static/hooks.config.php rename to monolog/static/strategies.config.php index 7759e678..87153839 100644 --- a/monolog/static/hooks.config.php +++ b/monolog/static/strategies.config.php @@ -19,12 +19,8 @@ * */ -use Friendica\Core\Hooks\Capabilities\BehavioralHookType as H; - return [ - H::STRATEGY => [ - \Psr\Log\LoggerInterface::class => [ - \Monolog\Logger::class => ['monolog'], - ], + \Psr\Log\LoggerInterface::class => [ + \Monolog\Logger::class => ['monolog'], ], ]; -- 2.39.5