Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate InvocationMocker::withConsecutive() in PHPUnit 9 #5035

Closed
mondrake opened this issue Aug 30, 2022 · 1 comment
Closed

Deprecate InvocationMocker::withConsecutive() in PHPUnit 9 #5035

mondrake opened this issue Aug 30, 2022 · 1 comment

Comments

@mondrake
Copy link

mondrake commented Aug 30, 2022

Q A
PHPUnit version 10.0.0
PHP version n/a
Installation Method n/a

Summary

#4564 has removed InvocationMocker::withConsecutive(). Initially it was meant to be deprecated in PHPUnit 10 for removal in PHPUnit 11, but then removal was moved forward.

Right now the method is fully supported in 9.5, and not at all in 10.

Can we have a deprecation in PHPUnit 9?

@mondrake mondrake added the type/bug Something is broken label Aug 30, 2022
@sebastianbergmann
Copy link
Owner

There will be a PHPUnit 9.6 release with this deprecation before PHPUnit 10.

@sebastianbergmann sebastianbergmann removed the type/bug Something is broken label Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants