1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-22 09:06:10 +02:00

Upgrade PHPUnit to v8

This commit is contained in:
Mario Blažek
2019-08-12 15:20:00 +02:00
parent 2e3c369667
commit 37900f9268
46 changed files with 154 additions and 166 deletions

View File

@@ -21,7 +21,7 @@ class RotatingFileHandlerTest extends TestCase
{
private $lastError;
public function setUp()
public function setUp(): void
{
$dir = __DIR__.'/Fixtures';
chmod($dir, 0777);
@@ -238,7 +238,7 @@ class RotatingFileHandlerTest extends TestCase
$this->assertEquals('footest', file_get_contents($log));
}
public function tearDown()
public function tearDown(): void
{
foreach (glob(__DIR__.'/Fixtures/*.rot') as $file) {
unlink($file);