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

Support phpdbg SAPI in Debug::enable()#26677

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

Closed
hkdobrev wants to merge2 commits intosymfony:2.7fromhkdobrev:debug-enable-phpdbg
Closed

Support phpdbg SAPI in Debug::enable()#26677

hkdobrev wants to merge2 commits intosymfony:2.7fromhkdobrev:debug-enable-phpdbg

Conversation

@hkdobrev
Copy link
Contributor

@hkdobrevhkdobrev commentedMar 26, 2018
edited
Loading

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

PHPDBG is a CLI PHP debugger which could be useful for debugging in development or for running PHPUnit tests with code coverage faster compared to XDebug.

It has CLI characteristics, but it runs as a different SAPI.

SpacePossum reacted with thumbs up emoji
@nicolas-grekas
Copy link
Member

Would be ok as bug fix on 2.7 on my side.

SpacePossum reacted with thumbs up emoji

PHPDBG is a CLI PHP debugger which could be useful for debugging in developmentor for running PHPUnit tests with code coverage faster compared to XDebug.It has CLI characteristics, but it runs as a different SAPI.
@hkdobrevhkdobrev changed the base branch frommaster to2.7March 26, 2018 21:52
@hkdobrev
Copy link
ContributorAuthor

@nicolas-grekas Updated as a bug fix on top of 2.7.

@ogizanagiogizanagi added Bug and removed Feature labelsMar 26, 2018
2.7.1
-----

* fix support for PHPDBG SAPI in`Debug::enable()`
Copy link
Contributor

Choose a reason for hiding this comment

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

This must be reverted. We only add new entries on minor versions, for features.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Done.

@hkdobrev
Copy link
ContributorAuthor

On a separate note, there are quite a few places where checks for CLI hard-code thecli SAPI instead of using a function to hold all the CLI SAPIs. E.g. the simple PHPUnit runner, the var dumper and the process components support phpdbg, but not others like http foundation and http kernel. This could bring a lot of headaches to someone trying to use phpdbg debugger with a Symfony project. Would you welcome a PR addressing that in all components?

@fabpot
Copy link
Member

Thank you@hkdobrev.

fabpot added a commit that referenced this pull requestMar 27, 2018
This PR was squashed before being merged into the 2.7 branch (closes#26677).Discussion----------Support phpdbg SAPI in Debug::enable()| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->| BC breaks?    | no     <!-- seehttps://symfony.com/bc -->| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->| Fixed tickets |    <!-- #-prefixed issue number(s), if any -->| License       | MIT| Doc PR        | <!-- required for new features -->PHPDBG is a CLI PHP debugger which could be useful for debugging in development or for running PHPUnit tests with code coverage faster compared to XDebug.It has CLI characteristics, but it runs as a different SAPI.Commits-------49a144f Support phpdbg SAPI in Debug::enable()
@fabpotfabpot closed thisMar 27, 2018
@ogizanagi
Copy link
Contributor

@hkdobrev : Yes, if there are other places where this makes sense, a PR fixing it all is always appreciated :)

@hkdobrevhkdobrev deleted the debug-enable-phpdbg branchMarch 27, 2018 10:22
This was referencedApr 2, 2018
fabpot added a commit that referenced this pull requestApr 3, 2018
This PR was squashed before being merged into the 2.7 branch (closes#26749).Discussion----------Add PHPDbg support to HTTP components| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |This is a follow-up to#26677.Turns out there aren't that many remaining instances of `PHP_SAPI` checks without considering `phpdbg` where it's needed.Commits-------60dd79c Add PHPDbg support to HTTP components
This was referencedApr 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@hkdobrev@nicolas-grekas@fabpot@ogizanagi@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp