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

Prefer line formatter on missing cli dumper#24598

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

Conversation

@greg0ire
Copy link
Contributor

@greg0iregreg0ire commentedOct 17, 2017
edited
Loading

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed ticketsnone, butclosessymfony/recipes#145
LicenseMIT
Doc PRn/a

The console formatter does a better job, unless the VarDumper component
is missing, in which case the LineFormatter should be preferred.

The console formatter does a better job, unless the VarDumper componentis missing, in which case you will not see the "context" or "extra" keysand the LineFormatter should be preferred.
*/
protectedfunctiongetDefaultFormatter()
{
if (!class_exists(CliDumper::class)) {
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

I did not find a way to test this (other than change the namespace of the test to match the one of the class but I'm don't think that would be ok with you).

@greg0ire
Copy link
ContributorAuthor

Can anyone fix the labels?

@nicolas-grekas
Copy link
Member

Thank you@greg0ire.

@nicolas-grekasnicolas-grekas merged commit574f9f5 intosymfony:3.3Oct 24, 2017
nicolas-grekas added a commit that referenced this pull requestOct 24, 2017
This PR was merged into the 3.3 branch.Discussion----------Prefer line formatter on missing cli dumper| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | none, butclosessymfony/recipes#145| License       | MIT| Doc PR        | n/aThe console formatter does a better job, unless the VarDumper componentis missing, in which case the LineFormatter should be preferred.Commits-------574f9f5 Prefer line formatter on missing cli dumper
@greg0iregreg0ire deleted the better_logging_without_var_dumper branchOctober 24, 2017 12:59
This was referencedOct 30, 2017
@fabpotfabpot mentioned this pull requestNov 10, 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

@chalasrchalasrchalasr approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

5 participants

@greg0ire@nicolas-grekas@chalasr@javiereguiluz@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp