From b6d7748e0b8388afd7c34a1fbb6b5f1279c8fb99 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Tue, 2 Dec 2025 11:25:30 +0100 Subject: [PATCH] accept any psr/log version Since this library only consumes loggers, but does not implement any loggers, it's safe to accept all three versions of psr/log making the library more compatible with different environments. See also https://www.php-fig.org/blog/2019/10/upgrading-psr-interfaces/ --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index e9cc2e2..2bf8b43 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ ], "require": { "php": ">=5.4", - "psr/log": "~1.0" + "psr/log": "^1.0 || ^2.0 || ^3.0" }, "require-dev": { "phpunit/phpunit": "~8.5",