Skip to content

Releases: bovigo/callmap

7.0.0 - Nine ten eleven Going back to seven

25 Dec 15:17
3d381d5

Choose a tag to compare

  • Raised minimum required PHP version to 8.0
  • Added support for intersection types
  • Added support for combined union and intersection types

6.2.1 - Fix deprecation issue php8

20 Dec 14:41
v6.2.1
5fe2246

Choose a tag to compare

This release patches the usage of the deprecated \ReflectionParam::getClass

6.2.0 - Strong unions

15 Nov 16:55
ce6352f

Choose a tag to compare

  • Ensured compatibility with PHP 8 (#14)
    • Added support for union types
    • Added support for mixed type hint
    • Added support for static return type hint
  • Ensured compatibility with PHPUnit 9.2 and later

6.1.0 - You can count on my assertion

02 Mar 15:26
52ec801

Choose a tag to compare

  • Verifications (verify()->wasCalled*(), verify()->receivedNothing()) now increase assertion counter of PHPUnit

6.0.0 - There's always another one

12 Feb 09:28
7b6b091

Choose a tag to compare

HEADS UP

  • raised minimum required PHP version to 7.3.0

Other changes

  • fixed handling of return values from PHPUnit constraints in argument verification

5.2.1 - Don't forget that one

12 Dec 09:58
e94dc6a

Choose a tag to compare

  • changed return type hint of NewCallable::of() and NewCallable::stub() to callable&\bovigo\callmap\FunctionProxy

5.2.0 - Nice intersection

10 Dec 11:15
10d7138

Choose a tag to compare

  • added phpstan annotations so instances created with bovigo\callmap\NewInstance::of() and bovigo\callmap\NewInstance::stub() have the proper intersection type

5.1.0 - Stub not all the things

10 Dec 11:15
0f7a11d

Choose a tag to compare

  • added bovigo\callmap\ClassProxy::stub(string ...$methods) to allow stubbing of methods
    on a proxy instance that otherwise forwards method calls to the original class
  • fixed bug that optional return type hints with builtin types aren't optional any more in mock instances

5.0.2 - Oh no, it's not optional

10 Dec 11:14
f6ef555

Choose a tag to compare

  • fixed bug that optional return type hints aren't optional any more in mock instances

5.0.1 - Seven four, gimme more

25 Jul 08:04
b97de0d

Choose a tag to compare

  • prevent deprecation notice in PHP 7.4 by using proper methods