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

[Bridge\PhpUnit] Turn "preserveGlobalState" to false by default, revert "Blacklist" removal#25097

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

Conversation

@nicolas-grekas
Copy link
Member

@nicolas-grekasnicolas-grekas commentedNov 22, 2017
edited
Loading

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

This reverts commit0577d20.
And replaces it by a change of the default configuration of the "preserveGlobalState" option of PHPUnit.
This option is a thing from the past (pre-Composer ages) that is usually useless, and breaks otherwise.

Note that to get the changed default, you must either enable the bridge's listener, or usesimple-phpunit. Using the originalphpunit directly will not fix the bad default, and yourisolated tests will likely break with the new dumped container, now split in several files.

@nicolas-grekasnicolas-grekas added this to the3.3 milestoneNov 22, 2017
nicolas-grekas added a commit that referenced this pull requestNov 22, 2017
…fault, revert "Blacklist" removal (nicolas-grekas)This PR was merged into the 3.3 branch.Discussion----------[Bridge\PhpUnit] Turn "preserveGlobalState" to false by default, revert "Blacklist" removal| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#25090| License       | MIT| Doc PR        | -This reverts commit0577d20.And replaces it by a change of the default configuration of the "preserveGlobalState" option of PHPUnit.This option is a thing from the past (pre-Composer ages) that is usually useless, and breaks otherwise.Note that to get the changed default, you must either enable the bridge's listener, or use `simple-phpunit`. Using the original `phpunit` directly will not fix the bad default, and your *isolated tests* will likely break with the new dumped container, now split in several files.Commits-------e233ba3 [Bridge\PhpUnit] Turn "preserveGlobalState" to false by default, revert "Blacklist" removal
@nicolas-grekasnicolas-grekas merged commite233ba3 intosymfony:3.3Nov 22, 2017
@nicolas-grekasnicolas-grekas deleted the phpunit-no-global-state branchNovember 22, 2017 13:59
This was referencedNov 24, 2017
@fabpotfabpot mentioned this pull requestDec 4, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

2 participants

@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp