Mockery v1.5.1 Release Notes
Release Date: 2022-09-07 // 9 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