Problem/Motivation
PHPUnit is deprecating withConsecutive(), so we need to find replacements.
Steps to reproduce
Proposed resolution
Convert the test to use Prophecy instead.
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3419349
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:
Comments
Comment #3
longwaveUnsure why PHPStan doesn't pick this one up.
We can't use
Argument::containingString()because the argument is TranslatableMarkup. Declaringstring $subjectin the closure is enough to cast this to a string forstr_contains(), though.Comment #4
smustgrave commentedDoesn't appear to have lost coverage.
Comment #6
catchCommitted/pushed to 11.x, thanks!