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:
@@ -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']];
|
||||
|
@@ -49,7 +49,7 @@ class PsrLogMessageProcessorTest extends TestCase
|
||||
$this->assertSame(['foo' => $date], $message['context']);
|
||||
}
|
||||
|
||||
public function getPairs()
|
||||
public static function getPairs()
|
||||
{
|
||||
$date = new \DateTime();
|
||||
|
||||
|
Reference in New Issue
Block a user