Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Dotenv] Improve Dotenv messages#31070

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
nicolas-grekas merged 1 commit intosymfony:masterfromseriquynh:improve_dotenv_messages
Apr 11, 2019
Merged

[Dotenv] Improve Dotenv messages#31070

nicolas-grekas merged 1 commit intosymfony:masterfromseriquynh:improve_dotenv_messages
Apr 11, 2019

Conversation

@seriquynh
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?no
Fixed ticketsno
LicenseMIT
Doc PRno

This PR improves a little bit of some messages from#31062

The first, passive sentences may be more suitable here because the value couldn't change by itself. It is changed by us - human.

The second, if we useThe default value of $usePutenv" argument of "%s's constructor, we have to pass__CLASS__ as the second parameter ofsprintf function instead of__METHOD__. So, I suggest usingThe default value of $usePutenv" argument of "%s".

Finally, the deprecation warning ofDotenv::__construct() is very long. Let's separate it into 2 pieces for readable reason.

@nicolas-grekas
Copy link
Member

Thank you@XuanQuynh.

@nicolas-grekasnicolas-grekas merged commite871a6a intosymfony:masterApr 11, 2019
nicolas-grekas added a commit that referenced this pull requestApr 11, 2019
This PR was merged into the 4.3-dev branch.Discussion----------[Dotenv] Improve Dotenv messages| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | no| Fixed tickets | no| License       | MIT| Doc PR        | noThis PR improves a little bit of some messages from#31062The first, passive sentences may be more suitable here because the value couldn't change by itself. It is changed by us - human.The second, if we use **The default value of $usePutenv" argument of "%s\'s constructor**, we have to pass `__CLASS__` as the second parameter of `sprintf` function instead of `__METHOD__`. So, I suggest using **The default value of $usePutenv" argument of "%s"**.Finally, the deprecation warning of `Dotenv::__construct()` is very long. Let's separate it into 2 pieces for readable reason.Commits-------e871a6a Improve Dotenv messages
@seriquynhseriquynh deleted the improve_dotenv_messages branchApril 11, 2019 08:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ro0NLro0NLro0NL approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@seriquynh@nicolas-grekas@ro0NL@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp