1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-08 06:06:40 +02:00
This commit is contained in:
Jordi Boggiano
2022-03-14 14:11:15 +01:00
parent 0aef68ce10
commit a3ba6445a4
6 changed files with 16 additions and 16 deletions

View File

@@ -166,9 +166,10 @@ STRING;
$this->expectExceptionMessage(($majorVersion >= 8) ? $php8xMessage : $php7xMessage);
$handler = new StreamHandler('bogus://url');
$record = $this->getRecord();
$record['context'] = ['foo' => 'bar'];
$record['extra'] = [1, 2, 3];
$record = $this->getRecord(
context: ['foo' => 'bar'],
extra: [1, 2, 3],
);
$handler->handle($record);
}