1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-20 20:01:52 +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

@@ -117,7 +117,7 @@ class StreamHandlerTest extends TestCase
$handler->handle($this->getRecord());
}
public function invalidArgumentProvider()
public static function invalidArgumentProvider()
{
return [
[1],
@@ -232,7 +232,7 @@ STRING;
$handler->handle($this->getRecord());
}
public function provideNonExistingAndNotCreatablePath()
public static function provideNonExistingAndNotCreatablePath()
{
return [
'/foo/bar/…' => [
@@ -244,7 +244,7 @@ STRING;
];
}
public function provideMemoryValues()
public static function provideMemoryValues()
{
return [
['1M', (int) (1024*1024/10)],