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

[Dotenv] Test do not use putenv #31405

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2019
Merged

[Dotenv] Test do not use putenv #31405

merged 1 commit into from
May 7, 2019

Conversation

seriquynh
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

The related pull request is #31062.

If the $usePutenv flag is set to false, putenv won't be executed. I just add a small test for this situation.

@chindit
Copy link
Contributor

chindit commented May 7, 2019

What's the point of doing this ? I don't understand.

@nicolas-grekas nicolas-grekas added this to the 4.3 milestone May 7, 2019
@fabpot
Copy link
Member

fabpot commented May 7, 2019

Thank you @XuanQuynh.

@fabpot fabpot merged commit 6d1a76e into symfony:master May 7, 2019
fabpot added a commit that referenced this pull request May 7, 2019
This PR was merged into the 4.3-dev branch.

Discussion
----------

[Dotenv] Test do not use putenv

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

The related pull request is #31062.

If the `$usePutenv` flag is set to `false`, `putenv` won't be executed. I just add a small test for this situation.

Commits
-------

6d1a76e Test do not use putenv
@seriquynh seriquynh deleted the test_do_not_use_putenv branch May 7, 2019 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.