All Versions
28
Latest Version
Avg Release Cycle
141 days
Latest Release
207 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.5.0 Changes
January 20, 2022- 0๏ธโฃ Override default call count expectations via expects() #1146
- ๐คก Mock methods with static return types #1157
- ๐คก Mock methods with mixed return type #1156
- ๐คก Mock classes with new in initializers on PHP 8.1 #1160
- โ Removes redundant PHPUnitConstraint #1158
-
v1.4.4 Changes
September 13, 2021- ๐ Fixes auto-generated return values #1144
- โ Adds support for tentative types #1130
- ๐ Fixes for PHP 8.1 Support (#1130 and #1140)
- โ Add method that allows defining a set of arguments the mock should yield #1133
- โ Added option to configure default matchers for objects
\Mockery::getConfiguration()->setDefaultMatcher($class, $matcherClass)
#1120
-
v1.4.3 Changes
February 24, 2021- ๐ Fixes calls to fetchMock before initialisation #1113
- ๐ Allow shouldIgnoreMissing() to behave in a recursive fashion #1097
- ๐ Custom object formatters #766 (Needs Docs)
- ๐ Fix crash on a union type including null #1106
-
v1.4.2 Changes
August 11, 2020- ๐ Fix array to string conversion in ConstantsPass (#1086)
- ๐ Fixed nullable PHP 8.0 union types (#1088, #1089)
- ๐ Fixed support for PHP 8.0 parent type (#1088, #1089)
- ๐ Fixed PHP 8.0 mixed type support (#1088, #1089)
- ๐ Fixed PHP 8.0 union return types (#1088, #1089)
Big thank you to @GrahamCampbell
-
v1.4.1 Changes
July 09, 2020- ๐ 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)
- ๐ Allow quick definitions to use 'at least once' expectation
-
v1.4.0 Changes
May 19, 2020 -
v1.3.4 Changes
February 24, 2021- ๐ Fixes calls to fetchMock before initialisation #1113
- ๐ Fix crash on a union type including null #1106
-
v1.3.3 Changes
August 11, 2020 -
v1.3.2 Changes
July 09, 2020 -
v1.3.1 Changes
December 26, 2019- โช Revert improved exception debugging due to BC breaks (#1032)