Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] correctly return parameter's default value on "--" #27918

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
Jul 12, 2018

Conversation

seschwar
Copy link

Fixes #27916

Q A
Branch? 3.4
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #27916
License MIT
Doc PR n/a

The tests have been adjusted to use a default value different from the one in A*Input::getParameterOption()'s signature. This would have detected the bug in the first place and should prevent future regressions.

@chalasr
Copy link
Member

chalasr commented Jul 10, 2018

Looks good to me.
Change introduced in #11431, maybe @Seldaek could confirm?

@Seldaek
Copy link
Member

Seldaek commented Jul 11, 2018

I think it looks fine yes

@fabpot
Copy link
Member

fabpot commented Jul 12, 2018

Thank you @seschwar.

@fabpot fabpot merged commit d78dcc0 into symfony:3.4 Jul 12, 2018
fabpot added a commit that referenced this pull request Jul 12, 2018
…-" (seschwar)

This PR was merged into the 3.4 branch.

Discussion
----------

[Console] correctly return parameter's default value on "--"

Fixes #27916

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #27916
| License       | MIT
| Doc PR        | n/a

The tests have been adjusted to use a default value different from the one in `A*Input::getParameterOption()`'s signature. This would have detected the bug in the first place and should prevent future regressions.

Commits
-------

d78dcc0 [Console] correctly return parameter's default value on "--"
@seschwar seschwar deleted the console--default branch July 12, 2018 09:17
This was referenced Jul 23, 2018
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.

6 participants