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
delegatemethod is no longer an abstract method) - when
$functionNameargument 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
$functionNameand 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