Skip to content

Commit

Permalink
Merge branch '5.3' into 5.4
Browse files Browse the repository at this point in the history
* 5.3:
  do not pass a boolean to the constructor of the Dotenv class
  • Loading branch information
xabbuh committed Oct 28, 2021
2 parents 39059de + 97ffd38 commit 0c5d051
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 @@ -544,7 +544,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 0c5d051

Please sign in to comment.