Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #34114 [Console] SymonfyStyle - Check value isset to avoid PHP no…
…tice (leevigraham) This PR was merged into the 3.4 branch. Discussion ---------- [Console] SymonfyStyle - Check value isset to avoid PHP notice | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #34093 | License | MIT | Doc PR | n/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 the `QuestionHelper`: 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 Commits ------- c9072c7 Check value isset to avoid PHP notice
- Loading branch information