From 42efb647ce23aeee48cb77d968a68d4b83225d98 Mon Sep 17 00:00:00 2001 From: kovenant Date: Wed, 16 Feb 2022 19:38:03 +0300 Subject: [PATCH 1/6] Update composer.json added doctrine ~3.0 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e9d80a2..72b49da 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "require": { "php": ">=5.4", - "doctrine/dbal": "~2.0", + "doctrine/dbal": "~2.0|~3.0", "psr/log": "~1.0", "ext-json": "*", "ext-zlib": "*", From 3f90f32956b51a935920c92723f3331cf4cb67f7 Mon Sep 17 00:00:00 2001 From: kovenant Date: Fri, 22 Apr 2022 17:22:46 +0300 Subject: [PATCH 2/6] Update composer.json add psr/log ~2.0 support --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 72b49da..f0fa3d8 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": ">=5.4", "doctrine/dbal": "~2.0|~3.0", - "psr/log": "~1.0", + "psr/log": "~1.0|~2.0", "ext-json": "*", "ext-zlib": "*", "ext-curl": "*" From 563aae1e0b9367b291b0f2a872c93f9223f8d904 Mon Sep 17 00:00:00 2001 From: kovenant Date: Fri, 30 May 2025 13:40:00 +0300 Subject: [PATCH 3/6] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index f0fa3d8..539e06d 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": ">=5.4", "doctrine/dbal": "~2.0|~3.0", - "psr/log": "~1.0|~2.0", + "psr/log": "~1.0|~2.0|~3.0", "ext-json": "*", "ext-zlib": "*", "ext-curl": "*" From b580e25b32ef638a149c3ede11ab46aef5e4f426 Mon Sep 17 00:00:00 2001 From: kovenant Date: Fri, 30 May 2025 14:11:36 +0300 Subject: [PATCH 4/6] Update Logger.php --- src/Badoo/LiveProfiler/Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Badoo/LiveProfiler/Logger.php b/src/Badoo/LiveProfiler/Logger.php index da946bc..2a87c4f 100644 --- a/src/Badoo/LiveProfiler/Logger.php +++ b/src/Badoo/LiveProfiler/Logger.php @@ -34,7 +34,7 @@ public function setLogFile($logfile) * @param string $message * @param array $context */ - public function log($level, $message, array $context = array()) + public function log($level, string|\Stringable $message, array $context = []) { $log_string = $this->getLogMsg($level, $message, $context); file_put_contents($this->logfile, $log_string, FILE_APPEND); From 68df693e5ed3f3a6f4445a6b795978c5ab5d4704 Mon Sep 17 00:00:00 2001 From: kovenant Date: Fri, 30 May 2025 14:16:05 +0300 Subject: [PATCH 5/6] Update Logger.php --- src/Badoo/LiveProfiler/Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Badoo/LiveProfiler/Logger.php b/src/Badoo/LiveProfiler/Logger.php index 2a87c4f..6da9808 100644 --- a/src/Badoo/LiveProfiler/Logger.php +++ b/src/Badoo/LiveProfiler/Logger.php @@ -34,7 +34,7 @@ public function setLogFile($logfile) * @param string $message * @param array $context */ - public function log($level, string|\Stringable $message, array $context = []) + public function log($level, string|\Stringable $message, array $context = []): void; { $log_string = $this->getLogMsg($level, $message, $context); file_put_contents($this->logfile, $log_string, FILE_APPEND); From 281b6daa21795f7c68d0591e58523c353dcb9620 Mon Sep 17 00:00:00 2001 From: kovenant Date: Fri, 30 May 2025 14:17:20 +0300 Subject: [PATCH 6/6] Update Logger.php --- src/Badoo/LiveProfiler/Logger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Badoo/LiveProfiler/Logger.php b/src/Badoo/LiveProfiler/Logger.php index 6da9808..d318b73 100644 --- a/src/Badoo/LiveProfiler/Logger.php +++ b/src/Badoo/LiveProfiler/Logger.php @@ -34,7 +34,7 @@ public function setLogFile($logfile) * @param string $message * @param array $context */ - public function log($level, string|\Stringable $message, array $context = []): void; + public function log($level, string|\Stringable $message, array $context = []): void { $log_string = $this->getLogMsg($level, $message, $context); file_put_contents($this->logfile, $log_string, FILE_APPEND);