Skip to content

Releases: php-mock/php-mock-integration

3.0.0

08 Mar 19:42
8ceb860
Compare
Choose a tag to compare

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)

New Contributors

Full Changelog: 2.4.0...3.0.0

3.0.0-beta1

08 Mar 19:26
8ceb860
Compare
Choose a tag to compare
3.0.0-beta1 Pre-release
Pre-release

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

Full Changelog: 2.4.0...3.0.0-beta1

2.5.0-beta1

07 Mar 13:31
c9a7388
Compare
Choose a tag to compare
2.5.0-beta1 Pre-release
Pre-release

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

Full Changelog: 2.4.0...2.5.0-beta1

2.4.0

24 Feb 14:51
0ea2fb4
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.0...2.4.0

2.3.0

10 Feb 21:37
ec6a00a
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.2.1...2.3.0

2.2.1

13 Feb 09:51
04f4a8d
Compare
Choose a tag to compare

What's Changed

  • Make dataprovider static to get rid of a PHPUnit 10 deprecation by @herndlm in #5
  • Avoid PHP type deprecation on function call by @herndlm in #6

New Contributors

Full Changelog: 2.2.0...2.2.1

2.2.0

13 Feb 09:03
c9fd81b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.1.0...2.2.0

php-mock/php-mock-integration 2.1.0

08 Feb 14:42
2.1.0
003d585
Compare
Choose a tag to compare
  • #1 Added PHPUnit 9 support
  • #1 Added PHP 7.2, 7.3 and 7.4 support
  • #1 Removed HHVM support