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

Appearance settings

Dumper shouldn't use html format for phpdbg #25662

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

Closed
wants to merge 1 commit into from

Conversation

jhoff
Copy link

@jhoff jhoff commented Jan 3, 2018

Q A
Branch? 3.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

This may not be the lowest branch that this fix applies to.

Prevents the dumper from outputting in html format when using phpdbg.

@jhoff jhoff changed the base branch from master to 3.3 January 3, 2018 05:07
@javiereguiluz
Copy link
Member

In other parts of Symfony we have this:

in_array(PHP_SAPI, array('cli', 'cli-server', 'phpdbg'))

Should we use the same here?

@nicolas-grekas nicolas-grekas added this to the 3.3 milestone Jan 3, 2018
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.

for 2.7

@nicolas-grekas
Copy link
Member

@javiereguiluz cli-server means HTML should be used

@nicolas-grekas nicolas-grekas modified the milestones: 3.3, 2.7 Jan 3, 2018
@nicolas-grekas
Copy link
Member

Thank you @jhoff.

nicolas-grekas added a commit that referenced this pull request Jan 3, 2018
…jhoff)

This PR was submitted for the 3.3 branch but it was merged into the 2.7 branch instead (closes #25662).

Discussion
----------

Dumper shouldn't use html format for phpdbg / cli-server

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

This may not be the lowest branch that this fix applies to.

Prevents the dumper from outputting in html format when using phpdbg.

Commits
-------

e2b6091 Dumper shouldn't use html format for phpdbg
@jhoff
Copy link
Author

jhoff commented Jan 3, 2018

Awesome. Also, sorry, I originally had cli-server in there but decided to take it out for the reason stated above. I then forgot to edit the title of the merge request.

@jhoff jhoff changed the title Dumper shouldn't use html format for phpdbg / cli-server Dumper shouldn't use html format for phpdbg Jan 3, 2018
@jhoff jhoff deleted the phpdb_dumper_support branch January 3, 2018 14:47
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.

4 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.