Problem/Motivation
PHPUnit is deprecating withConsecutive(), so we need to find replacements.
Steps to reproduce
Proposed resolution
Based on #3306554-29: InvocationMocker::withConsecutive() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10 we can use callbacks to assert the order of arguments.
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3417560
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:
- 3417560-remove-withconsecutive-in
changes, plain diff MR !6349
Comments
Comment #3
longwaveComment #4
smustgrave commentedChange looks good/no coverage lost.
Comment #5
catchNeeds a rebase.
Comment #6
longwaveRebased.
Comment #9
catchCommitted/pushed to 11.x and cherry-picked to 10.2.x, thanks!