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] Add polyfill for expectException* methods#32869

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

Conversation

@jderusse
Copy link
Member

QA
Branch?master
Bug fix?no
New feature?yes
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#32844
LicenseMIT
Doc PRNA

this PR provides a polyfill for methodssetException,setExceptionMessage,setExceptionMessageRegExp andsetExceptionCode

@Tobion
Copy link
Contributor

Why is the PR for master?

@nicolas-grekasnicolas-grekas changed the title[PhpUnitBridge] Add a polyfill for setException* methods[PhpUnitBridge] Add a polyfill for expectException* methodsAug 1, 2019
@nicolas-grekasnicolas-grekas changed the title[PhpUnitBridge] Add a polyfill for expectException* methods[PhpUnitBridge] Add polyfill for expectException* methodsAug 1, 2019
@nicolas-grekas
Copy link
Member

Why is the PR for master?

The reason is that the master version of the bridge is used to test all branches, so merging here first will unlock testing the PR on 3.4 (and we will merge this patch also on 3.4 then)

@jderussejderusseforce-pushed thepolyfill-phpunit-setexception branch fromdc7a2d7 tod8c384bCompareAugust 1, 2019 18:55
parent::setExpectedExceptionRegExp($exceptionName,$exceptionMessageRegExp,$exceptionCode);
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

this extra line is too much

@nicolas-grekasnicolas-grekasforce-pushed thepolyfill-phpunit-setexception branch fromd8c384b toc7a8ce5CompareAugust 1, 2019 19:57
@nicolas-grekas
Copy link
Member

Thank you@jderusse.

@nicolas-grekasnicolas-grekas merged commitc7a8ce5 intosymfony:masterAug 1, 2019
nicolas-grekas added a commit that referenced this pull requestAug 1, 2019
…s (jderusse)This PR was merged into the 5.0-dev branch.Discussion----------[PhpUnitBridge] Add polyfill for expectException* methods| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#32844| License       | MIT| Doc PR        | NAthis PR provides a polyfill for methods `setException`, `setExceptionMessage`, `setExceptionMessageRegExp` and `setExceptionCode`Commits-------c7a8ce5 [Bridge/PhpUnit] Add polyfill for expectException*
nicolas-grekas added a commit that referenced this pull requestAug 1, 2019
…usse)This PR was merged into the 3.4 branch.Discussion----------Replace calls to setExpectedException by Pollyfill| Q             | A| ------------- | ---| Branch?       | 3.4| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | need#32869 to be merged| Fixed tickets |#32844| License       | MIT| Doc PR        | NAPhpUnit method `setExceptionException` has been deprecated seens 5.7. This PR replace theme by `exceptException` provide by the pollyfill.Commits-------41c02d7 Replace calls to setExpectedException by Pollyfill
@jderussejderusse deleted the polyfill-phpunit-setexception branchAugust 2, 2019 12:18
nicolas-grekas added a commit that referenced this pull requestAug 3, 2019
…tring*() (Tobias Weichart)This PR was merged into the 4.4 branch.Discussion----------[PhpUnitBridge] added polyfill for assertStringContainsString*()| Q             | A| ------------- | ---| Branch?       | master| Bug fix?      | no| New feature?  | yes| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#32844| License       | MIT| Doc PR        | -this PR provides a polyfill for methods assertStringContainsString and assertStringContainsStringIgnoringCase in preparation for the PHPUnit 9 deprecations.PR follows the pattern of [this PR](#32869), hence the PR to masterCommits-------1602441 [PhpUnitBridge] added polyfill for assertStringContainsString*()
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+2 more reviewers

@TobionTobionTobion left review comments

@maxheliasmaxheliasmaxhelias approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@jderusse@Tobion@nicolas-grekas@maxhelias@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp