Skip to content

[Console] Handle false return value from readline #15450

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
Aug 5, 2015

Conversation

michaelperrin
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
License MIT

Following #15382 and as @stof mentioned, the false value can be returned by readline() and should be handled. This fixes the problem.

"readline()" returns "false" when the user presses CTRL+D.
@xabbuh
Copy link
Member

xabbuh commented Aug 4, 2015

👍

Status: Reviewed

@nicolas-grekas
Copy link
Member

Thank you @michaelperrin.

@nicolas-grekas nicolas-grekas merged commit f5ca270 into symfony:2.8 Aug 5, 2015
nicolas-grekas added a commit that referenced this pull request Aug 5, 2015
…elperrin)

This PR was merged into the 2.8 branch.

Discussion
----------

[Console] Handle false return value from readline

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| License       | MIT

Following #15382 and as @stof mentioned, the `false` value can be returned by `readline()` and should be handled. This fixes the problem.

Commits
-------

f5ca270 [Console] Handle false return value from readline
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.

4 participants