My Editor informed me today that the phpunit method withConsecutive, which we use in quite a lot of places has been deprecated. Apparently in version 10 of phpunit it was removed.
It is not really clear to me by reading through the linked issues and PRs that I found if there is an replacement ore not.
Apparently the code was not maintainable so removal is very much understandable.