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

[Console] Fix command option mode (InputOption::VALUE_REQUIRED)#60914

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

Open
gharlan wants to merge1 commit intosymfony:6.4
base:6.4
Choose a base branch
Loading
fromgharlan:command-options-value-required

Conversation

gharlan
Copy link
Contributor

QA
Branch?6.4
Bug fix?yes
New feature?no
Deprecations?no
Issues
LicenseMIT

I think in all given cases it was a mistake to useInputOption::VALUE_OPTIONAL instead ofInputOption::VALUE_REQUIRED.
It is a common mistake to think that you have to useVALUE_OPTIONAL to make the option optional. But options are always optional. 😉

@gharlangharlanforce-pushed thecommand-options-value-required branch from34d24df todde6dfaCompareJune 26, 2025 21:24
Copy link
Member

@ycerutoyceruto left a comment

Choose a reason for hiding this comment

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

Absolutely!

@carsonbotcarsonbot changed the titleFix command option mode (InputOption::VALUE_REQUIRED)[Console] Fix command option mode (InputOption::VALUE_REQUIRED)Jun 27, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ycerutoycerutoyceruto approved these changes

@welcoMatticwelcoMatticAwaiting requested review from welcoMatticwelcoMattic is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
6.4
Development

Successfully merging this pull request may close these issues.

4 participants
@gharlan@yceruto@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp