Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5d005c9

Browse filesBrowse files
committed
Merge branch '7.1' into 7.2
* 7.1: fix merge [AssetMapper] Split test dirs in tests Fix typo Change incorrect check for the `stateless` request attribute [Validator] add setGroupProvider to AttributeLoader use copy() instead of rename() on Windows test: kebab-case to snake_case [PropertyInfo] Handle collection in PhpStan same as PhpDoc [Messenger] Passing to `WorkerMessageRetriedEvent` envelope with actual stamps after sent
2 parents 339dd23 + a26be30 commit 5d005c9
Copy full SHA for 5d005c9

File tree

Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-6
lines changed

‎Tests/DotenvTest.php

Copy file name to clipboardExpand all lines: Tests/DotenvTest.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -430,16 +430,16 @@ public function testHttpVarIsPartiallyOverridden()
430430
$this->assertSame('http_value', $_SERVER['HTTP_TEST_ENV_VAR']);
431431
}
432432

433-
public function testEnvVarIsOverriden()
433+
public function testEnvVarIsOverridden()
434434
{
435-
putenv('TEST_ENV_VAR_OVERRIDEN=original_value');
435+
putenv('TEST_ENV_VAR_OVERRIDDEN=original_value');
436436

437437
$dotenv = (new Dotenv())->usePutenv();
438-
$dotenv->populate(['TEST_ENV_VAR_OVERRIDEN' => 'new_value'], true);
438+
$dotenv->populate(['TEST_ENV_VAR_OVERRIDDEN' => 'new_value'], true);
439439

440-
$this->assertSame('new_value', getenv('TEST_ENV_VAR_OVERRIDEN'));
441-
$this->assertSame('new_value', $_ENV['TEST_ENV_VAR_OVERRIDEN']);
442-
$this->assertSame('new_value', $_SERVER['TEST_ENV_VAR_OVERRIDEN']);
440+
$this->assertSame('new_value', getenv('TEST_ENV_VAR_OVERRIDDEN'));
441+
$this->assertSame('new_value', $_ENV['TEST_ENV_VAR_OVERRIDDEN']);
442+
$this->assertSame('new_value', $_SERVER['TEST_ENV_VAR_OVERRIDDEN']);
443443
}
444444

445445
public function testMemorizingLoadedVarsNamesInSpecialVar()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.