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] Backport handler lock when using VAR_DUMPER_FORMAT#37841

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.4fromogizanagi:lock-var-dumper-format
Aug 16, 2020
Merged

[VarDumper] Backport handler lock when using VAR_DUMPER_FORMAT#37841

fabpot merged 1 commit intosymfony:4.4fromogizanagi:lock-var-dumper-format
Aug 16, 2020

Conversation

@ogizanagi
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsN/A
LicenseMIT
Doc PRN/A

Backport of the "lock" behavior from#35967, preventing unexpected handler change when using theVAR_DUMPER_FORMAT env var.


As a concrete example of this not working as expected:
Start a PHPUnit test suite with this env var to the desired format. If a web test case is making a request (with debug enabled), theDebugBundle replaces the handler set initially by theVAR_DUMPER_FORMAT, will collect dumps into the profiler, but won't output these.
As well, for dumps made in between the the kernel is boot (DebugBundle::build() is called) and a request, the dumps are properly sent to the output with expected format, but looses colors.

IMHO, the use-cases ofVAR_DUMPER_FORMAT justifies locking the handler for the whole process.

@ogizanagiogizanagi changed the title[Messenger] Fix BC layer for stamps moved into separate packages[VarDumper] Backport handler lock when using VAR_DUMPER_FORMATAug 14, 2020
@fabpot
Copy link
Member

Thank you@ogizanagi.

@fabpotfabpot merged commit7f2726a intosymfony:4.4Aug 16, 2020
@ogizanagiogizanagi deleted the lock-var-dumper-format branchAugust 16, 2020 07:15
This was referencedAug 31, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ogizanagi@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp