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

[PhpUnitBridge] fix disabling DeprecationErrorHandler using phpunit.xml file#28524

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
nicolas-grekas merged 1 commit intosymfony:3.4fromsoerenbernstein:patch-1
Sep 20, 2018
Merged

Conversation

@soerenbernstein
Copy link
Contributor

Fixing#28519

QA
Branch?master
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?don't know
Fixed tickets#28519
LicenseMIT

&& DeprecationErrorHandler::MODE_WEAK !==$mode
&& DeprecationErrorHandler::MODE_WEAK_VENDORS !==$mode
&& (!isset($mode[0]) ||'/' !==$mode[0])
) {

Choose a reason for hiding this comment

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

indentation should be one level down here

$mode =getenv('SYMFONY_DEPRECATIONS_HELPER');
}
if (DeprecationErrorHandler::MODE_WEAK !==$mode && DeprecationErrorHandler::MODE_WEAK_VENDORS !==$mode && (!isset($mode[0]) ||'/' !==$mode[0])) {
if (DeprecationErrorHandler::MODE_DISABLED !==$mode

Choose a reason for hiding this comment

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

please remove trailing spaces (see fabbot failure)

@nicolas-grekasnicolas-grekas changed the titleUpdate DeprecationErrorHandler.php[PhpUnitBridge] fix disabling DeprecationErrorHandler using phpunit.xml fileSep 20, 2018
@nicolas-grekasnicolas-grekas added this to the3.4 milestoneSep 20, 2018
@nicolas-grekas
Copy link
Member

@soerenbernstein I suppose you confirm this fixes the issue and allows disabling the bridge using the phpunit.xml file?

@soerenbernstein
Copy link
ContributorAuthor

Yes. And it will actually set the mode to "disabled" forfuture use.

@nicolas-grekasnicolas-grekas changed the base branch frommaster to3.4September 20, 2018 07:47
@nicolas-grekas
Copy link
Member

Thank you@soerenbernstein.

@nicolas-grekasnicolas-grekas merged commit3cd929b intosymfony:3.4Sep 20, 2018
nicolas-grekas added a commit that referenced this pull requestSep 20, 2018
…g phpunit.xml file (soerenbernstein)This PR was submitted for the master branch but it was squashed and merged into the 3.4 branch instead (closes#28524).Discussion----------[PhpUnitBridge] fix disabling DeprecationErrorHandler using phpunit.xml fileFixing#28519| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | don't know| Fixed tickets |#28519| License       | MITCommits-------3cd929b [PhpUnitBridge] fix disabling DeprecationErrorHandler using phpunit.xml file
@soerenbernsteinsoerenbernstein deleted the patch-1 branchSeptember 20, 2018 07:50
This was referencedSep 30, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.4

Development

Successfully merging this pull request may close these issues.

3 participants

@soerenbernstein@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp