Skip to content

Commit

Permalink
do not pass a boolean to the constructor of the Dotenv class
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Oct 28, 2021
1 parent 6633083 commit 97ffd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/DotenvTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
Expand Down

0 comments on commit 97ffd38

Please sign in to comment.