You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
minor #58358 Remove calls to getExpectedException() (derrabus)
This PR was merged into the 7.2 branch.
Discussion
----------
Remove calls to `getExpectedException()`
| Q | A
| ------------- | ---
| Branch? | 7.2
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | N/A
| License | MIT
PHPUnit 11 does not allow us to query anymore whether we already expect an exception. We call the now-removed method `getExpectedException()` several times, but I could not really figure out why we do that. The simplest fix would be to remove the calls. As far as I can tell, our tests pass without them.
Commits
-------
c1b6da6 Remove calls to getExpectedException()
0 commit comments