From 97ffd3846f8a782086e82c1b5fdefb3f3ad078db Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Thu, 28 Oct 2021 23:34:29 +0200 Subject: [PATCH] do not pass a boolean to the constructor of the Dotenv class --- Tests/DotenvTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/DotenvTest.php b/Tests/DotenvTest.php index c824c5e..682e81e 100644 --- a/Tests/DotenvTest.php +++ b/Tests/DotenvTest.php @@ -488,7 +488,7 @@ public function testSERVERVarsDuplicationInENV() unset($_ENV['SYMFONY_DOTENV_VARS'], $_SERVER['SYMFONY_DOTENV_VARS'], $_ENV['FOO']); $_SERVER['FOO'] = 'CCC'; - (new Dotenv(false))->populate(['FOO' => 'BAR']); + (new Dotenv())->populate(['FOO' => 'BAR']); $this->assertSame('CCC', $_ENV['FOO']); }