From 5c35b3e3be8b5c4812cbc64c6b2659b97ff74961 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Thu, 16 Dec 2021 17:06:14 +0300 Subject: [PATCH] Symfony 6.0 compatibility (#134) --- composer.json | 4 ++-- tests/utils/ArrayLogger.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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,