From 8f60e1206e45e67c96a7630d4ff94e72fe875f09 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Sat, 26 Sep 2020 15:08:39 +0200 Subject: Comply with PHPUnit V8: setup/teardown functions must return void --- tests/HistoryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/HistoryTest.php') diff --git a/tests/HistoryTest.php b/tests/HistoryTest.php index 7189c3a9..e9e61032 100644 --- a/tests/HistoryTest.php +++ b/tests/HistoryTest.php @@ -16,7 +16,7 @@ class HistoryTest extends \PHPUnit\Framework\TestCase /** * Delete history file. */ - public function setUp() + protected function setUp(): void { if (file_exists(self::$historyFilePath)) { unlink(self::$historyFilePath); -- cgit v1.2.3