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