From 1365784011a6fd2ccfb51e8818f9bb46aa372913 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 28 Nov 2019 10:19:41 +0100 Subject: Compatibility with phpunit8 Signed-off-by: Joas Schilling --- tests/php/Chat/Parser/SystemMessageTest.php | 2 +- tests/php/Chat/Parser/UserMentionTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/php/Chat/Parser') diff --git a/tests/php/Chat/Parser/SystemMessageTest.php b/tests/php/Chat/Parser/SystemMessageTest.php index bc045789f..8544e7d7d 100644 --- a/tests/php/Chat/Parser/SystemMessageTest.php +++ b/tests/php/Chat/Parser/SystemMessageTest.php @@ -61,7 +61,7 @@ class SystemMessageTest extends TestCase { /** @var IL10N|MockObject */ protected $l; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->userManager = $this->createMock(IUserManager::class); diff --git a/tests/php/Chat/Parser/UserMentionTest.php b/tests/php/Chat/Parser/UserMentionTest.php index 7cdb2cbec..2e9f7a8a3 100644 --- a/tests/php/Chat/Parser/UserMentionTest.php +++ b/tests/php/Chat/Parser/UserMentionTest.php @@ -50,7 +50,7 @@ class UserMentionTest extends \Test\TestCase { /** @var UserMention */ protected $parser; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->commentsManager = $this->createMock(ICommentsManager::class); -- cgit v1.2.3