Problem/Motivation
Method returnSelf() of class PHPUnit\Framework\TestCase is deprecated in PHPUnit 10.
Proposed resolution
Use $double->willReturnSelf() instead.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3432849
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:
- 3432849-method-returnself-of
changes, plain diff MR !7135
Comments
Comment #3
mondrakeComment #4
spokjeReplacement makes sense, couldn't find any other occurrences than the ones in the MR, Green tests => RTBC
Comment #7
catchCommitted/pushed to 11.x and cherry-picked to 10.3.x, thanks!