diff -Nru php-malkusch-lock-2.2+ds.1/debian/changelog php-malkusch-lock-2.2+ds.1/debian/changelog --- php-malkusch-lock-2.2+ds.1/debian/changelog 2022-02-25 06:27:35.000000000 +0000 +++ php-malkusch-lock-2.2+ds.1/debian/changelog 2022-04-05 12:24:41.000000000 +0000 @@ -1,3 +1,9 @@ +php-malkusch-lock (2.2+ds.1-2ubuntu1) jammy; urgency=medium + + * d/p/0005-comply-with-psr-log-3.patch: comply with php-psr-log 3. + + -- Athos Ribeiro Tue, 05 Apr 2022 09:24:41 -0300 + php-malkusch-lock (2.2+ds.1-2build1) jammy; urgency=medium * No change rebuild for php-psr-log 3 diff -Nru php-malkusch-lock-2.2+ds.1/debian/patches/0005-comply-with-psr-log-3.patch php-malkusch-lock-2.2+ds.1/debian/patches/0005-comply-with-psr-log-3.patch --- php-malkusch-lock-2.2+ds.1/debian/patches/0005-comply-with-psr-log-3.patch 1970-01-01 00:00:00.000000000 +0000 +++ php-malkusch-lock-2.2+ds.1/debian/patches/0005-comply-with-psr-log-3.patch 2022-04-05 12:24:19.000000000 +0000 @@ -0,0 +1,29 @@ +Description: Comply with psr/log 3 +Author: Athos Ribeiro +Forwarded: no +Last-Update: 2022-04-05 + +--- a/classes/mutex/RedisMutex.php ++++ b/classes/mutex/RedisMutex.php +@@ -62,8 +62,9 @@ + * be logged as warnings. + * + * @param LoggerInterface $logger The logger. ++ * @return void. + */ +- public function setLogger(LoggerInterface $logger) ++ public function setLogger(LoggerInterface $logger): void + { + $this->logger = $logger; + } +--- a/composer.json ++++ b/composer.json +@@ -43,7 +43,7 @@ + }, + "require": { + "php": "^7.2 || ^8.0", +- "psr/log": "^1" ++ "psr/log": "^3" + }, + "require-dev": { + "ext-memcached": "*", diff -Nru php-malkusch-lock-2.2+ds.1/debian/patches/series php-malkusch-lock-2.2+ds.1/debian/patches/series --- php-malkusch-lock-2.2+ds.1/debian/patches/series 2021-12-30 17:31:39.000000000 +0000 +++ php-malkusch-lock-2.2+ds.1/debian/patches/series 2022-04-05 12:19:47.000000000 +0000 @@ -2,3 +2,4 @@ 0002-Patch-out-tests-that-use-Eloquent-Liberator.patch 0003-Patch-out-tests-that-use-Spatie-Async.patch 0004-Skip-comparison-check-on-32-bit-systems.patch +0005-comply-with-psr-log-3.patch