mirror of
https://github.com/Seldaek/monolog.git
synced 2025-08-10 23:24:02 +02:00
Upgrade to phpunit 10 (#1806)
Co-authored-by: Christopher Georg <christopher.georg@sr-travel.de>
This commit is contained in:
@@ -159,7 +159,7 @@ class SignalHandlerTest extends TestCase
|
||||
$this->assertSame($expected, file_get_contents($path));
|
||||
}
|
||||
|
||||
public function defaultPreviousProvider()
|
||||
public static function defaultPreviousProvider()
|
||||
{
|
||||
if (!defined('SIGCONT') || !defined('SIGINT') || !defined('SIGURG')) {
|
||||
return [];
|
||||
@@ -196,7 +196,7 @@ class SignalHandlerTest extends TestCase
|
||||
$this->assertSame($callPrevious ? 1 : 0, $previousCalled);
|
||||
}
|
||||
|
||||
public function callablePreviousProvider()
|
||||
public static function callablePreviousProvider()
|
||||
{
|
||||
return [
|
||||
[false],
|
||||
@@ -248,7 +248,7 @@ class SignalHandlerTest extends TestCase
|
||||
}
|
||||
}
|
||||
|
||||
public function restartSyscallsProvider()
|
||||
public static function restartSyscallsProvider()
|
||||
{
|
||||
return [
|
||||
[false],
|
||||
@@ -277,7 +277,7 @@ class SignalHandlerTest extends TestCase
|
||||
$this->assertCount($expectedAfter, $handler->getRecords());
|
||||
}
|
||||
|
||||
public function asyncProvider()
|
||||
public static function asyncProvider()
|
||||
{
|
||||
return [
|
||||
[false, false, 0, 1],
|
||||
|
Reference in New Issue
Block a user