1
0
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:
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

@@ -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],