Releases: mockery/mockery
Releases · mockery/mockery
1.3.3
- Fix array to string conversion in ConstantsPass (#1086)
- Fixed nullable PHP 8.0 union types (#1088)
- Fixed support for PHP 8.0 parent type (#1088)
- Fixed PHP 8.0 mixed type support (#1088)
- Fixed PHP 8.0 union return types (#1088)
Thanks again to @GrahamCampbell
1.4.1
- Allow quick definitions to use 'at least once' expectation
\Mockery::getConfiguration()->getQuickDefinitions()->shouldBeCalledAtLeastOnce(true)
(#1056)
- Added provisional support for PHP 8.0 (#1068, #1072,#1079)
- Fix mocking methods with iterable return type without specifying a return value (#1075)
1.3.2
- Fix mocking with anonymous classes (#1039)
- Fix andAnyOthers() to properly match earlier expectations (#1051)
- Added provisional support for PHP 8.0 (#1068, #1072,#1079)
- Fix mocking methods with iterable return type without specifying a return value (#1075)
1.4.0
- Fix andAnyOthers() to properly match earlier expectations (#1051)
- Drops support for PHP < 7.3 and PHPUnit < 8 (#1059)
1.3.1: Merge pull request #1032 from robertbasic/revert-exception-debugging
- Revert improved exception debugging due to BC breaks (#1032)
1.3.0
- Added capture
Mockery::capture
convenience matcher (#1020)
- Added
andReturnArg
to echo back an argument passed to a an expectation (#992)
- Improved exception debugging (#1000)
- Fixed
andSet
to not reuse properties between mock objects (#1012)
1.2.4
Fix a bug introduced with previous release, for empty method definition lists (#1009)
1.2.3
- Allow mocking classes that have allows and expects methods (#868)
- Allow passing thru __call method in all mock types (experimental) (#969)
- Add support for
!
to blacklist methods (#959)
- Added
withSomeOfArgs
to partial match a list of args (#967)
- Fix chained demeter calls with type hint (#956)
1.2.2
Fix a BC breaking change for PHP 5.6/PHPUnit 5.7.27 (#947)
0.9.11
- Set property values on all related mocks #944