8000 minors · symfony/symfony@047c3f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 047c3f5

Browse files
committed
minors
1 parent 1b9da5b commit 047c3f5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

src/Symfony/Component/Dotenv/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
CHANGELOG
22
=========
33

4+
4.3.0
5+
-----
6+
7+
* deprecated use of `putenv()` but default. This feature will be opted-in with a constructor argument to `Dotenv`.
8+
49
4.2.0
510
-----
611

712
* added `Dotenv::overload()` and `$overrideExistingVars` as optional parameter of `Dotenv::populate()`
813
* added `Dotenv::loadEnv()` to load a .env file and its corresponding .env.local, .env.$env and .env.$env.local files if they exist
9-
* deprecated use of `putenv()` but default. This feature will be opted-in with a constructor argument to `Dotenv`.
1014

1115
3.3.0
1216
-----

src/Symfony/Component/Dotenv/Dotenv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(bool $usePutenv = true)
4848
@trigger_error(sprintf('The default value of "$usePutenv" argument of "%s\'s constructor will change from "true" to "false" in Symfony 5.0, you should define its value explicitly.', __METHOD__), E_USER_DEPRECATED);
4949
}
5050

51-
$this->usePutenv = $usePutenv ?? true;
51+
$this->usePutenv = $usePutenv;
5252
}
5353

5454
/**

src/Symfony/Component/Dotenv/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Dotenv Component
22
================
33

44
Symfony Dotenv parses `.env` files to make environment variables stored in them
5-
accessible via `$_ENV`, `$_SERVER` or `getenv()`.
5+
accessible via `$_ENV`, `$_SERVER` and optionally `getenv()`.
66

77
Resources
88
---------

0 commit comments

Comments
 (0)
0