Problem/Motivation
Method return*() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.
Proposed resolution
Use $double->willReturn*() instead.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3433052
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:
- 3433052-fixed-remaining-return
changes, plain diff MR !7164
Comments
Comment #3
mondrakeComment #4
spokjeSaid it before and will say it again:
Replacement makes sense, couldn't find any other occurrences than the ones in the MR, Green tests => RTBC.
Comment #5
mondrakeComment #8
catchCommitted/pushed to 11.x and cherry-picked to 10.3.x, thanks!