From c007ca624f4a95e1a491221d425fcb2fa6e5589a Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 21 Nov 2019 16:40:38 +0100 Subject: Make phpunit8 compatible Signed-off-by: Roeland Jago Douma --- tests/lib/Security/IdentityProof/KeyTest.php | 2 +- tests/lib/Security/IdentityProof/ManagerTest.php | 2 +- tests/lib/Security/IdentityProof/SignerTest.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/lib/Security/IdentityProof') diff --git a/tests/lib/Security/IdentityProof/KeyTest.php b/tests/lib/Security/IdentityProof/KeyTest.php index bb550bd1b2a..34493df9878 100644 --- a/tests/lib/Security/IdentityProof/KeyTest.php +++ b/tests/lib/Security/IdentityProof/KeyTest.php @@ -30,7 +30,7 @@ class KeyTest extends TestCase { /** @var Key */ private $key; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->key = new Key('public', 'private'); diff --git a/tests/lib/Security/IdentityProof/ManagerTest.php b/tests/lib/Security/IdentityProof/ManagerTest.php index 2d66845ba8d..9e58ac5c00f 100644 --- a/tests/lib/Security/IdentityProof/ManagerTest.php +++ b/tests/lib/Security/IdentityProof/ManagerTest.php @@ -50,7 +50,7 @@ class ManagerTest extends TestCase { /** @var ILogger|MockObject */ private $logger; - public function setUp() { + public function setUp(): void { parent::setUp(); /** @var Factory|\PHPUnit_Framework_MockObject_MockObject $factory */ diff --git a/tests/lib/Security/IdentityProof/SignerTest.php b/tests/lib/Security/IdentityProof/SignerTest.php index 114c03348f6..850ae08d4f0 100644 --- a/tests/lib/Security/IdentityProof/SignerTest.php +++ b/tests/lib/Security/IdentityProof/SignerTest.php @@ -89,7 +89,7 @@ gQIDAQAB /** @var Signer */ private $signer; - public function setUp() { + public function setUp(): void { parent::setUp(); $this->key = new Key($this->public, $this->private); -- cgit v1.2.3