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

[VarDumper] Added a way to print or not comma separator and/or trailing comma#21653

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:masterfromlyrixx:var-dumper-comma
Feb 20, 2017

Conversation

@lyrixx
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

Usecase: Be able to display a dump on one line.
It's already used in the following projets:https://github.com/bobthecow/psysh/blob/master/src/Psy/VarDumper/Dumper.php#L93-L95

EOTXT
,
$out

Choose a reason for hiding this comment

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

I suggest to use a smaller fixture - one that contains a multiline string - and to test also theDUMP_TRAILING_COMMA flag

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Fixed.

: foo bar
: twig source
:
:

Choose a reason for hiding this comment

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

should be reverted (breaks tests)

@nicolas-grekasnicolas-grekas added this to the3.3 milestoneFeb 18, 2017
@lyrixxlyrixxforce-pushed thevar-dumper-comma branch 2 times, most recently fromdc30f7d to431d57cCompareFebruary 20, 2017 10:10
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

👍

@fabpot
Copy link
Member

Thank you@lyrixx.

@fabpotfabpot merged commit1ef0751 intosymfony:masterFeb 20, 2017
fabpot added a commit that referenced this pull requestFeb 20, 2017
…r and/or trailing comma (lyrixx)This PR was merged into the 3.3-dev branch.Discussion----------[VarDumper] Added a way to print or not comma separator and/or trailing comma| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | ----Usecase: Be able to display a dump on one line.It's already used in the following projets:https://github.com/bobthecow/psysh/blob/master/src/Psy/VarDumper/Dumper.php#L93-L95Commits-------1ef0751 [VarDumper] Added a way to print or not comma separator and/or trailing comma
@lyrixxlyrixx deleted the var-dumper-comma branchFebruary 20, 2017 17:03
@fabpotfabpot mentioned this pull requestMay 1, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

4 participants

@lyrixx@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp