Issue #3306554 by andypost, mondrake: InvocationMocker::withConsecutive() is...
Issue #3306554 by andypost, mondrake: InvocationMocker::withConsecutive() is deprecated in PHPUnit 9.6 and removed from PHPUnit 10 - easy replacements
(cherry picked from commit 24009901)