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

[HttpKernel] Fix bug with whitespace in Kernel::stripComments()#39220

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
fabpot merged 1 commit intosymfony:4.4fromausi:fix/strip-comments-whitespace
Dec 5, 2020

Conversation

@ausi
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets
LicenseMIT
Doc PR

Kernel::stripComments() removes significant whitespace in some cases.

I noticed this in one of the generated classes, the code<?php include_once \dirname(__DIR__).'/file.php'; got replaced with<?php include_once\dirname(__DIR__).'/file.php'; which is a syntax error.

OskarStark and nanasess reacted with thumbs up emoji
@ausiausiforce-pushed thefix/strip-comments-whitespace branch from963a48d to8d368e1CompareNovember 29, 2020 21:29
@carsonbotcarsonbot changed the titleFix bug with whitespace in Kernel::stripComments()[HttpKernel] Fix bug with whitespace in Kernel::stripComments()Nov 29, 2020
@fabpot
Copy link
Member

Thank you@ausi.

@fabpotfabpot merged commitcdb1883 intosymfony:4.4Dec 5, 2020
This was referencedDec 18, 2020
@fabpotfabpot mentioned this pull requestDec 18, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

5 participants

@ausi@fabpot@OskarStark@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp