Skip to content

Commit a1bf4c9

Browse files
Fix for PHPUnit 8 compatibility
1 parent 51a8a7b commit a1bf4c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/Dotenv/EnvironmentVariablesTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ class EnvironmentVariablesTest extends TestCase
1111
*/
1212
private $envFactory;
1313

14-
protected function setUp()
14+
/**
15+
* @before
16+
*/
17+
public function setUpTest()
1518
{
1619
$this->envFactory = new DotenvFactory();
1720
(new Loader([dirname(__DIR__).'/fixtures/env/.env'], $this->envFactory))->load();

0 commit comments

Comments
 (0)