1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-22 12:53:27 +02:00

Upgrade to phpunit 10 (#1806)

Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
This commit is contained in:
chris
2023-06-20 15:56:11 +02:00
committed by GitHub
parent 50409b8169
commit 8561130215
28 changed files with 106 additions and 85 deletions

View File

@@ -57,7 +57,7 @@ class ClosureContextProcessorTest extends TestCase
$this->assertSame($expected, $record->context);
}
public function getContexts(): iterable
public static function getContexts(): iterable
{
yield [['foo']];
yield [['foo' => 'bar']];

View File

@@ -49,7 +49,7 @@ class PsrLogMessageProcessorTest extends TestCase
$this->assertSame(['foo' => $date], $message['context']);
}
public function getPairs()
public static function getPairs()
{
$date = new \DateTime();