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

[DX] Added line feed to container alias description (text descriptor)#11305

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

Merged

Conversation

@zefrog
Copy link

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PRN/A

This PR just adds a line feed at the end of the alias service description delivered by the ContainerDebugCommand. Tests are passing because expected outputs are trimmed before comparison (which IMO is not a really good thing, but hey...)

Copy link
Member

Choose a reason for hiding this comment

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

Wouldn't it be better to use the system independentPHP_EOL constant instead of\n?

Copy link
Author

Choose a reason for hiding this comment

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

The whole file is using\n, see lines 60, 94, 110, 128...

Copy link
Author

Choose a reason for hiding this comment

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

There's only one use ofPHP_EOL that's not testing related in the whole symfony/symfony repo. I don't remember why but I think that was a choice made by the the core at some point.

@zefrog
Copy link
Author

I think Travis failure is not related to my PR... Tests are passing :)

@fabpot
Copy link
Member

Thank you@zefrog.

@fabpotfabpot merged commit13c011c intosymfony:masterJul 25, 2014
fabpot added a commit that referenced this pull requestJul 25, 2014
…t descriptor) (Maxime Douailin)This PR was merged into the 2.6-dev branch.Discussion----------[DX] Added line feed to container alias description (text descriptor)| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | N/AThis PR just adds a line feed at the end of the alias service description delivered by the ContainerDebugCommand. Tests are passing because expected outputs are trimmed before comparison (which IMO is not a really good thing, but hey...)Commits-------13c011c Added line feed to container alias description (text descriptor)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

DXDX = Developer eXperience (anything that improves the experience of using Symfony)

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@zefrog@fabpot@xabbuh@romainneutron@mdouailin

[8]ページ先頭

©2009-2025 Movatter.jp