Skip to content

Commit 97ffd38

Browse files
committed
do not pass a boolean to the constructor of the Dotenv class
1 parent 6633083 commit 97ffd38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/DotenvTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ public function testSERVERVarsDuplicationInENV()
488488
unset($_ENV['SYMFONY_DOTENV_VARS'], $_SERVER['SYMFONY_DOTENV_VARS'], $_ENV['FOO']);
489489
$_SERVER['FOO'] = 'CCC';
490490

491-
(new Dotenv(false))->populate(['FOO' => 'BAR']);
491+
(new Dotenv())->populate(['FOO' => 'BAR']);
492492

493493
$this->assertSame('CCC', $_ENV['FOO']);
494494
}

0 commit comments

Comments
 (0)