All Versions
31
Latest Version
Avg Release Cycle
141 days
Latest Release
588 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.5.1 Changes
September 07, 2022- โ [PHP 8.2] Various tests: explicitly declare properties #1170
- ๐ [PHP 8.2] Fix "Use of "parent" in callables is deprecated" notice #1169
- ๐ [PHP 8.1] Support intersection types #1164
- ๐ Handle final
__toString
methods #1162 - โ Only count assertions on expectations which can fail a test #1180
-
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.6 Changes
September 07, 2022- ๐ PHP 8.2 | Fix "Use of "parent" in callables is deprecated" notice #1169
-
v1.3.5 Changes
September 13, 2021- ๐ Fix auto-generated return values with union types #1143
- โ 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.3.4 Changes
February 24, 2021- ๐ Fixes calls to fetchMock before initialisation #1113
- ๐ Fix crash on a union type including null #1106