Skip to content

Conversation

@icarus94
Copy link
Contributor

  • support new version phpunit/php-text-template (^5);
  • support new version phpunit/phpunit (^12.0);
  • add attribute for each annotation to support phpunit 12;
  • use MockBuilder for building mocks instead of removed getMockForAbstractClass method

icarus94 and others added 2 commits February 23, 2025 13:21
- support new version `phpunit/phpunit` (^12.0);
- add attribute for each annotation to support phpunit 12;
- use MockBuilder for building mocks instead of removed `getMockForAbstractClass` method
@michalbundyra michalbundyra added this to the 2.4.0 milestone Feb 23, 2025
@michalbundyra
Copy link
Member

@icarus94 thanks for the PR, looks like some test on old versions are failing. Would you be able to have a look and try to sort it out? If not, I'll try to have a look during the week. Thanks 🙏

…ilder` as suggested alternative

- use `MockBuilder::onlyMethods` on PhpUnit 8.3.0+ and `MockBuilder::setMethods` up to PhpUnit 8.3.0
@michalbundyra michalbundyra merged commit 0ea2fb4 into php-mock:master Feb 24, 2025
14 checks passed
@michalbundyra
Copy link
Member

Thanks, @icarus94 !

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