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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
From: Robin Gustafsson <robin@rgson.se>
Date: Wed, 12 Feb 2020 13:56:49 +0100
Subject: Support PHPUnit 8
---
tests/Dotenv/DotenvTest.php | 2 +-
tests/Dotenv/EnvironmentVariablesTest.php | 2 +-
tests/Dotenv/LoaderTest.php | 2 +-
tests/Dotenv/ValidatorTest.php | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/Dotenv/DotenvTest.php b/tests/Dotenv/DotenvTest.php
index 63184f4..8f1de33 100644
--- a/tests/Dotenv/DotenvTest.php
+++ b/tests/Dotenv/DotenvTest.php
@@ -10,7 +10,7 @@ class DotenvTest extends TestCase
*/
private $fixturesFolder;
- public function setUp()
+ public function setUp(): void
{
$this->fixturesFolder = dirname(__DIR__).'/fixtures/env';
}
diff --git a/tests/Dotenv/EnvironmentVariablesTest.php b/tests/Dotenv/EnvironmentVariablesTest.php
index beba2cb..7d41ba4 100644
--- a/tests/Dotenv/EnvironmentVariablesTest.php
+++ b/tests/Dotenv/EnvironmentVariablesTest.php
@@ -11,7 +11,7 @@ class EnvironmentVariablesTest extends TestCase
*/
private $envFactory;
- protected function setUp()
+ protected function setUp(): void
{
$this->envFactory = new DotenvFactory();
(new Loader([dirname(__DIR__).'/fixtures/env/.env'], $this->envFactory))->load();
diff --git a/tests/Dotenv/LoaderTest.php b/tests/Dotenv/LoaderTest.php
index 90bc71a..a1cd585 100644
--- a/tests/Dotenv/LoaderTest.php
+++ b/tests/Dotenv/LoaderTest.php
@@ -17,7 +17,7 @@ class LoaderTest extends TestCase
*/
protected $keyVal;
- public function setUp()
+ public function setUp(): void
{
$this->folder = dirname(__DIR__).'/fixtures/env';
$this->keyVal(true);
diff --git a/tests/Dotenv/ValidatorTest.php b/tests/Dotenv/ValidatorTest.php
index bf0edc0..716b2aa 100644
--- a/tests/Dotenv/ValidatorTest.php
+++ b/tests/Dotenv/ValidatorTest.php
@@ -10,7 +10,7 @@ class ValidatorTest extends TestCase
*/
private $fixturesFolder;
- public function setUp()
+ public function setUp(): void
{
$this->fixturesFolder = dirname(__DIR__).'/fixtures/env';
}
|