Mockery v1.5.1 Release Notes

Release Date: 2022-09-07 // 3 months ago
    • โœ… [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

Previous changes from v1.5.0

    • 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