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

Check if default value isset#34094

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

Closed
leevigraham wants to merge2 commits intosymfony:4.4fromleevigraham:patch-1

Conversation

@leevigraham
Copy link
Contributor

QA
Branch?4.3 for bug fixes
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix#34093
LicenseMIT
Doc PRn/a

This PR addresses the issue when a default value is not a valid choice. Currently this would throw a notice which outputs to the console.

This fix is a similar implementation to theQuestionHelper:https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/Console/Helper/QuestionHelper.php#L63

Example console command and output can be found in the issue:#34093

@leevigrahamleevigraham changed the base branch from4.4 to4.3October 24, 2019 07:01
@leevigrahamleevigraham changed the base branch from4.3 to4.4October 24, 2019 07:02
@leevigraham
Copy link
ContributorAuthor

Resubmitted PR:#34114 based on 4.3 branch.

@leevigrahamleevigraham deleted the patch-1 branchOctober 25, 2019 10:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Console] SymfonyStyle throws notice for invalid default choice in choice() method.

2 participants

@leevigraham@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp