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

expectDeprecation*(): Document custom extension + events approach for PHPUnit 10 #185

Closed
hellofromtonya opened this issue Sep 5, 2024 · 1 comment

Comments

@hellofromtonya
Copy link
Collaborator

PHPUnit 10 removed the expect*() methods, including expectDeprecation(), expectDeprecationMessage(), and expectDeprecationMessageMatches().

As PHPUnit Polyfills is forward compatible, these removed expectations will not be polyfilled in 2.x.

As it is possible to polyfill these removed expectations, @jrfnl and I discussed documenting a custom approach in the 2.x README's FAQ.

The custom approach:

@jrfnl
Copy link
Collaborator

jrfnl commented Sep 6, 2024

Closing as duplicate (or close enough) of #186.

@jrfnl jrfnl closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants