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

feat: Support PHPUnit 11 #67

Merged
merged 2 commits into from
Feb 11, 2024
Merged

feat: Support PHPUnit 11 #67

merged 2 commits into from
Feb 11, 2024

Conversation

michalbundyra
Copy link
Member

No description provided.

@michalbundyra michalbundyra added this to the 2.10.0 milestone Feb 11, 2024
@michalbundyra michalbundyra changed the title feat: Support for PHPUnit 11 feat: Support PHPUnit 11 Feb 11, 2024
@michalbundyra michalbundyra merged commit e1f7e79 into master Feb 11, 2024
102 checks passed
@michalbundyra michalbundyra deleted the feat/php-8.2 branch February 11, 2024 07:24
@herndlm
Copy link

herndlm commented Feb 11, 2024

fyi I can upgrade to and use PHPUnit 11 now with a green pipeline in a project where we are using both php-mock/php-mock-mockery and php-mock/php-mock-phpunit 🎉

it's not an issue per se, but I noticed that unfortunately there are deprecations coming from inside this lib, presumably both https://github.com/php-mock/php-mock-phpunit/blob/2.10.0/classes/PHPMock.php#L69 and https://github.com/php-mock/php-mock-phpunit/blob/2.10.0/classes/PHPMock.php#L72

  • MockBuilder::addMethods() is deprecated and will be removed in PHPUnit 12. No replacement is/will be provided.

  • MockBuilder::getMockForAbstractClass() is deprecated and will be removed in PHPUnit 12. No replacement is/will be provided.

Again, I don't think these are issues, but maybe we can avoid them somehow before people create issues here.

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

Successfully merging this pull request may close these issues.

2 participants