8000 minor #43808 [Dotenv] do not pass a boolean to the constructor of the… · symfony/symfony@e5d6b8d · GitHub
[go: up one dir, main page]

Skip to content

Commit e5d6b8d

Browse files
committed
minor #43808 [Dotenv] do not pass a boolean to the constructor of the Dotenv class (xabbuh)
This PR was merged into the 5.3 branch. Discussion ---------- [Dotenv] do not pass a boolean to the constructor of the Dotenv class | Q | A | ------------- | --- | Branch? | 5.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | | License | MIT | Doc PR | Commits ------- 0e8b560 do not pass a boolean to the constructor of the Dotenv class
2 parents d7b529d + 0e8b560 commit e5d6b8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Dotenv/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)
0