Problem/Motivation
PHPUnit is deprecating withConsecutive(), so we need to find replacements.
Steps to reproduce
Proposed resolution
We don't need to assert the order that modules are loaded in here, so we can use Prophecy to do this more easily.
Merge request link
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3418453
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:
- 3418453-remove-withconsecutive-in
changes, plain diff MR !6414
Comments
Comment #2
longwaveComment #3
longwaveComment #5
spokjeMerge conflict + PHPStan being too good at its job.
Maybe a
@phpstan-ignore-next-lineand a comment why is in order?Comment #6
longwaveRebased, if we change the docblock then PHPStan doesn't think it is a real ModuleHandlerInterface any more.
Comment #7
spokjeYep, that works.
Do we need to add a comment why we don't do the "normal" union type here?
Comment #8
longwaveHonestly not sure it's worth it, the comment and variable name tell you what it is.
Comment #9
spokjeFine by me
Comment #10
catchCommitted/pushed to 11.x, thanks!