-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PhpUnitBridge] Add polyfill for expectException* methods #32869
Conversation
951f008
to
dc7a2d7
Compare
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) |
dc7a2d7
to
d8c384b
Compare
} | ||
|
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
to
c7a8ce5
Compare
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 | NA this 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 | NA PhpUnit 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 master Commits ------- 1602441 [PhpUnitBridge] added polyfill for assertStringContainsString*()
this PR provides a polyfill for methods
setException
,setExceptionMessage
,setExceptionMessageRegExp
andsetExceptionCode