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

[QUESTION] - Deprecated Methods in phpunit 11 #70

Closed
ciltocruz opened this issue Apr 19, 2024 · 2 comments
Closed

[QUESTION] - Deprecated Methods in phpunit 11 #70

ciltocruz opened this issue Apr 19, 2024 · 2 comments

Comments

@ciltocruz
Copy link

ciltocruz commented Apr 19, 2024

Hello. After upgrading to PhpUnit 11, it reports some deprecated methods used by php-mock. Is there any plan to avoid using these deprecated methods which will stop working in phpunit 12?

image

Thank you.

@michalbundyra michalbundyra transferred this issue from php-mock/php-mock Apr 24, 2024
@michalbundyra
Copy link
Member

Hi @ciltocruz !

(I have transferred the issue from php-mock to php-mock-phpunit.)

It was noted also here: #67 (comment)

I was checking if there is something I can do quickly, but I cannot see easy solution, and we would need a new version of https://github.com/php-mock/php-mock-integration to get it working without deprecations.

The problem is that we do not really know yet what PHPUnit 12 is going to bring, and we might have more issues when it lands.
For now I am not planning to work on removing these deprecations, but if there is someone who wants to provide the fix I would be more than happy to review and release. Hope it makes sense.

Thanks!

@ciltocruz
Copy link
Author

Perfect. Thank you for transferring it here. We'll wait for that version 12 to see what needs to be done. I close this issue to avoid noise.

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