diff --git a/composer.json b/composer.json index d8adcf2..c819015 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "require": { "php": ">=7.3.0", "ext-json": "*", - "psr/log": "^1.1", + "psr/log": "^1|^2|^3", "psr/http-client": "^1.0", "psr/http-message": "^1.0", "psr/http-message-implementation": "^1.0", @@ -29,7 +29,7 @@ "liip/serializer": "^2.0", "php-http/httplug": "^2.2", "civicrm/composer-compile-plugin": "^0.15.0", - "symfony/console": "^4.0|^5.0", + "symfony/console": "^4.0|^5.0|^6.0", "psr/event-dispatcher": "^1.0", "neur0toxine/psr.http-client-implementation.php-http-curl": "*", "neur0toxine/psr.http-factory-implementation.nyholm": "*", diff --git a/tests/utils/ArrayLogger.php b/tests/utils/ArrayLogger.php index 755b2e4..793220c 100644 --- a/tests/utils/ArrayLogger.php +++ b/tests/utils/ArrayLogger.php @@ -49,7 +49,7 @@ class ArrayLogger extends AbstractLogger * * @throws \Psr\Log\InvalidArgumentException */ - public function log($level, $message, array $context = array()) + public function log($level, $message, array $context = array()): void { $this->messages[] = [ 'level' => $level,