Skip to content

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
@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