Releases: php-mock/php-mock-integration
Releases · php-mock/php-mock-integration
3.0.0
What's Changed
- feat: Do not add a dummy function when functionName is not provided by @michalbundyra in #14
- Add actual function that can be mocked in PHPUnit 12 by @crocodele in #13
BC Break:
MockDelegateFunctionBuilder::build
- generates now a class, not an abstract class (so also the
delegate
method is no longer an abstract method) - when
$functionName
argument is provided the generated class contains public method with that name without any parameters - hash in the namespace of generated class is created from the provided
$functionName
and derive arguments (not just derived arguments as before)
- generates now a class, not an abstract class (so also the
New Contributors
- @crocodele made their first contribution in #13
Full Changelog: 2.4.0...3.0.0
3.0.0-beta1
What's Changed
- feat: Do not add a dummy function when functionName is not provided by @michalbundyra in #14
- Add actual function that can be mocked in PHPUnit 12 by @crocodele in #13
New Contributors
- @crocodele made their first contribution in #13
Full Changelog: 2.4.0...3.0.0-beta1
2.5.0-beta1
Caution
Actually PR #13 is a BC Break, so we are going to move it into 3.0.0 instead, so 2.5.0 is not going to be published.
What's Changed
- Add actual function that can be mocked in PHPUnit 12 by @crocodele in #13
New Contributors
- @crocodele made their first contribution in #13
Full Changelog: 2.4.0...2.5.0-beta1
2.4.0
What's Changed
- qa: Run unit tests on PHP 8.4 by @michalbundyra in #12
- Maintenance: support phpunit v12 & php-text-template v5 by @icarus94 in #11
New Contributors
Full Changelog: 2.3.0...2.4.0
2.3.0
What's Changed
- qa: Run unit tests on PHP 8.3 by @michalbundyra in #7
- chore: squizlabs/php_codesniffer 3.8.0 by @michalbundyra in #9
- feat: Support PHPUnit 11 by @michalbundyra in #10
Full Changelog: 2.2.1...2.3.0
2.2.1
2.2.0
What's Changed
- GHA Workflow instead of TravisCI by @michalbundyra in #2
- feat: Support PHPUnit 10 by @michalbundyra in #4
Full Changelog: 2.1.0...2.2.0