All Versions
31
Latest Version
Avg Release Cycle
141 days
Latest Release
595 days ago

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)
  • v1.4.0 Changes

    May 19, 2020
    • ๐Ÿ›  Fix andAnyOthers() to properly match earlier expectations (#1051)
    • โฌ‡๏ธ Drops support for PHP < 7.3 and PHPUnit < 8 (#1059)
  • 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