Skip to content
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

[Console] Use proper line endings in BufferedOutput #21981

Merged
merged 1 commit into from Mar 14, 2017

Conversation

julienfalque
Copy link
Contributor

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

BufferOutput should be consistent with StreamOutput when writing newlines.

I faced an issue using this class in tests where the expected output was platform dependent (using PHP_EOL too).

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

@nicolas-grekas nicolas-grekas added this to the 2.7 milestone Mar 14, 2017
@fabpot
Copy link
Member

fabpot commented Mar 14, 2017

Thank you @julienfalque.

@fabpot fabpot merged commit 33946e6 into symfony:2.7 Mar 14, 2017
fabpot added a commit that referenced this pull request Mar 14, 2017
…nfalque)

This PR was merged into the 2.7 branch.

Discussion
----------

[Console] Use proper line endings in BufferedOutput

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

`BufferOutput` should be consistent with `StreamOutput` when writing newlines.

I faced an issue using this class in tests where the expected output was platform dependent (using `PHP_EOL` too).

Commits
-------

33946e6 Use proper line endings
@julienfalque julienfalque deleted the buffered-output-newline branch March 14, 2017 18:59
This was referenced Apr 4, 2017
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.

None yet

6 participants