Skip to content

Releases: mockery/mockery

1.6.2

07 Jun 09:20
13a7fa2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.1...1.6.2

1.6.1

05 Jun 14:02
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.5.1...1.6.1

1.5.1

07 Sep 15:33
Compare
Choose a tag to compare

[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

1.3.6

07 Sep 15:33
Compare
Choose a tag to compare

PHP 8.2 | Fix "Use of "parent" in callables is deprecated" notice #1169

1.5.0

20 Jan 13:20
Compare
Choose a tag to compare
  • 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

1.4.4

13 Sep 15:30
Compare
Choose a tag to compare
  • 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

1.3.5

13 Sep 15:34
Compare
Choose a tag to compare
  • Fix auto-generated return values with union types #1143
  • Adds support for tentative types #1130
  • Fixes for PHP 8.1 Support (#1130 and #1140)

1.4.3

24 Feb 09:53
Compare
Choose a tag to compare
  • 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

1.3.4

24 Feb 09:52
Compare
Choose a tag to compare
  • Fixes calls to fetchMock before initialisation #1113
  • Fix crash on a union type including null #1106

1.4.2

11 Aug 18:11
20cab67
Compare
Choose a tag to compare
  • 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