1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 5 Jan 2021 13:13:45 -0400
Subject: Adapt to recent version of PHPUnit (8)
---
tests/Pheanstalk/PheanstalkTest.php | 2 +-
tests/Pheanstalk/ServerErrorExceptionTest.php | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/Pheanstalk/PheanstalkTest.php b/tests/Pheanstalk/PheanstalkTest.php
index 734e16e..ba92623 100644
--- a/tests/Pheanstalk/PheanstalkTest.php
+++ b/tests/Pheanstalk/PheanstalkTest.php
@@ -18,7 +18,7 @@ use PHPUnit\Framework\TestCase;
*/
class PheanstalkTest extends TestCase
{
- protected function setUp()
+ protected function setUp(): void
{
parent::setUp();
diff --git a/tests/Pheanstalk/ServerErrorExceptionTest.php b/tests/Pheanstalk/ServerErrorExceptionTest.php
index b0e13c8..59b5ae7 100644
--- a/tests/Pheanstalk/ServerErrorExceptionTest.php
+++ b/tests/Pheanstalk/ServerErrorExceptionTest.php
@@ -13,7 +13,7 @@ class ServerErrorExceptionTest extends TestCase
{
private $command;
- public function setUp()
+ public function setUp(): void
{
$this->command = new Command\UseCommand('tube5');
}
|