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

[Config] Removed env var support with cannotBeEmpty()#31678

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:masterfromro0NL:config
Jun 8, 2019
Merged

Conversation

@ro0NL
Copy link
Contributor

QA
Branch?master
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#...
LicenseMIT
Doc PRsymfony/symfony-docs#...

See#28858

@nicolas-grekas
Copy link
Member

A test case is failing.

"require-dev": {
"symfony/yaml":"^4.4|^5.0",
"symfony/config":"^4.4|^5.0",
"symfony/config":"^5.0",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Is there a way not doing this? We'd better resist these when possible.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

not sure how to detect Config 5.0 :/

then again .. it's nice to enforce the same behavior for everyone on DI 5.0 no?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I would try to try harder here: shouldn't the test case be moved to the config component?
This doesn't look legit to me.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

updated

shouldn't the test case be moved to the config component?

i favored a di+config integration test, instead of a config unit test. Integration test have to deal with low/high deps either way. It now covers the deps=high case, assuming the legacy test is covered on lower branches still.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

agree 4.4|5.0 is the better constraint, which is conceptually the same behavior already but allows users to opt for deprecations vs. exceptions basically.

@nicolas-grekas
Copy link
Member

Thank you@ro0NL.

@nicolas-grekasnicolas-grekas merged commitec27d74 intosymfony:masterJun 8, 2019
nicolas-grekas added a commit that referenced this pull requestJun 8, 2019
…o0NL)This PR was merged into the 5.0-dev branch.Discussion----------[Config] Removed env var support with cannotBeEmpty()| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | no| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets | #...   <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->See#28858Commits-------ec27d74 [Config] Removed env var support with cannotBeEmpty()
@ro0NLro0NL deleted the config branchOctober 5, 2019 10:09
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.0

Development

Successfully merging this pull request may close these issues.

4 participants

@ro0NL@nicolas-grekas@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp