Skip to content

Commit 4ac38ef

Browse files
committed
minor symfony#35887 [Dotenv] Documentation improvement (jonmldr)
This PR was submitted for the master branch but it was merged into the 4.4 branch instead. Discussion ---------- [Dotenv] Documentation improvement | Q | A | ------------- | --- | Branch? | 4.4 <!-- see below --> | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | License | MIT <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch master. --> Equalization with the component description in the [documentation](https://symfony.com/doc/current/components/dotenv.html). My suggestion is to remove `getenv()` from this description. [Since Symfony 4.3](https://github.com/symfony/symfony/blob/master/UPGRADE-4.3.md), `$usePutenv = false` by default in `Dotenv::__construct()`. Because of this, `getenv()` is not usable by default. Commits ------- 4f61247 [Dotenv] Documentation improvement
2 parents dc9a0b5 + 4f61247 commit 4ac38ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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 `$_SERVER`, `$_ENV` and optionally `getenv()`.
5+
accessible via `$_SERVER` or `$_ENV`.
66

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

0 commit comments

Comments
 (0)