Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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
[PhpUnitBridge] Add polyfill for expectException* methods#32869
Uh oh!
There was an error while loading.Please reload this page.
Conversation
951f008 todc7a2d7CompareUh oh!
There was an error while loading.Please reload this page.
Tobion commentedAug 1, 2019
Why is the PR for master? |
nicolas-grekas commentedAug 1, 2019
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) |
dc7a2d7 tod8c384bCompare| parent::setExpectedExceptionRegExp($exceptionName,$exceptionMessageRegExp,$exceptionCode); | ||
| } | ||
| } | ||
There was a problem hiding this comment.
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
d8c384b toc7a8ce5Comparenicolas-grekas commentedAug 1, 2019
Thank you@jderusse. |
…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*
…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
…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*()
this PR provides a polyfill for methods
setException,setExceptionMessage,setExceptionMessageRegExpandsetExceptionCode