Symfony 6.0 compatibility (#134)
This commit is contained in:
parent
8b136b075b
commit
5c35b3e3be
@ -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": "*",
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user