Problem/Motivation
Support for using expectException() with PHPUnit\\Framework\\Error\\Warning is deprecated and will be removed in PHPUnit 10. Use expectWarning() instead.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | interdiff_11-13.txt | 821 bytes | ravi.shankar |
| #13 | 3217714-13.patch | 5.66 KB | ravi.shankar |
Issue fork drupal-3217714
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 9.2.x
compare
- 3217714-replace-usages-of
changes, plain diff MR !762
Comments
Comment #3
mondrakeMaking the conversions.
Comment #4
longwaveA nice and straightforward one.
Comment #5
longwaveComment #6
catchNeeds a re-roll.
Comment #7
guilhermevp commentedre-rolled patch.
Comment #8
mondrakeComment #9
mondrakethere’s a race condition, let’s go one issue at the time
Comment #10
mondrakeNeeds reroll.
Comment #11
ravi.shankar commentedAdded reroll of patch #7.
Comment #12
longwaveWatning -> Warning
Comment #13
ravi.shankar commentedAddressed comment #12.
Comment #14
longwaveThanks! RTBC if bot agrees.
Comment #16
mondrakeComment #19
catchCommitted/pushed to 9.3.x and cherry-picked to 9.2.x, thanks!
Comment #20
mondrakeOne conversion missed and now tests on PHP 7.4 are broken. Filed #3218586: Missed one conversion to expectWarning().