ÿØÿà JFIF    ÿÛ „  ( %"1!%)+...383,7(-.+  -+++--++++---+-+-----+---------------+---+-++7-----ÿÀ  ß â" ÿÄ     ÿÄ H    !1AQaq"‘¡2B±ÁÑð#R“Ò Tbr‚²á3csƒ’ÂñDS¢³$CÿÄ   ÿÄ %  !1AQa"23‘ÿÚ   ? ôÿ ¨pŸªáÿ —åYõõ\?àÒü©ŠÄï¨pŸªáÿ —åYõõ\?àÓü©ŠÄá 0Ÿªáÿ Ÿå[úƒ ú®ði~TÁbqÐ8OÕpÿ ƒOò¤Oè`–RÂáœá™êi€ßÉ< FtŸI“öÌ8úDf´°å}“¾œ6  öFá°y¥jñÇh†ˆ¢ã/ÃÐ:ªcÈ "Y¡ðÑl>ÿ ”ÏËte:qž\oäŠe÷󲍷˜HT4&ÿ ÓÐü6ö®¿øþßèô Ÿ•7Ñi’•j|“ñì>b…þS?*Óôÿ ÓÐü*h¥£ír¶ü UãS炟[AÐaè[ûª•õ&õj?†Éö+EzP—WeÒírJFt ‘BŒ†Ï‡%#tE Øz ¥OÛ«!1›üä±Í™%ºÍãö]°î(–:@<‹ŒÊö×òÆt¦ãº+‡¦%ÌÁ²h´OƒJŒtMÜ>ÀÜÊw3Y´•牋4ǍýʏTì>œú=Íwhyë,¾Ôò×õ¿ßÊa»«þˆѪQ|%6ž™A õ%:øj<>É—ÿ Å_ˆCbõ¥š±ý¯Ýƒï…¶|RëócÍf溪“t.СøTÿ *Ä¿-{†çàczůŽ_–^XþŒ±miB[X±d 1,é”zEù»& î9gœf™9Ð'.;—™i}!ôšåîqêÛ٤ёý£½ÆA–àôe"A$˝Úsäÿ ÷Û #°xŸëí(l »ý3—¥5m! rt`†0~'j2(]S¦¦kv,ÚÇ l¦øJA£Šƒ J3E8ÙiŽ:cÉžúeZ°€¯\®kÖ(79«Ž:¯X”¾³Š&¡* ….‰Ž(ÜíŸ2¥ª‡×Hi²TF¤ò[¨íÈRëÉ䢍mgÑ.Ÿ<öäS0í„ǹÁU´f#Vß;Õ–…P@3ío<ä-±»Ž.L|kªÀê›fÂ6@»eu‚|ÓaÞÆŸ…¨ááå>åŠ?cKü6ùTÍÆ”†sĤÚ;H2RÚ†õ\Ö·Ÿn'¾ ñ#ºI¤Å´%çÁ­‚â7›‹qT3Iï¨ÖÚ5I7Ë!ÅOóŸ¶øÝñØôת¦$Tcö‘[«Ö³šÒ';Aþ ¸èíg A2Z"i¸vdÄ÷.iõ®§)¿]¤À†–‡É&ä{V¶iŽ”.Ó×Õÿ û?h¬Mt–íª[ÿ Ñÿ ÌV(í}=ibÔ¡›¥¢±b Lô¥‡piη_Z<‡z§èŒ)iÖwiÇ 2hÙ3·=’d÷8éŽ1¦¸c¤µ€7›7Ø ð\á)} ¹fËí›pAÃL%âc2 í§æQz¿;T8sæ°qø)QFMð‰XŒÂ±N¢aF¨…8¯!U  Z©RÊ ÖPVÄÀÍin™Ì-GˆªÅËŠ›•zË}º±ŽÍFò¹}Uw×#ä5B¤{î}Ð<ÙD é©¤&‡ïDbàÁôMÁ." ¤‡ú*õ'VŽ|¼´Úgllº¼klz[Æüï÷Aób‡Eÿ dÑ»Xx9ÃÜ£ÁT/`¼¸vI±Ýµ·Ë‚“G³þ*Ÿû´r|*}<¨îºœ @¦mÄ’M¹”.œ«Y–|6ÏU¤jç¥ÕÞqO ˜kDÆÁ¨5ÿ š;ÐЦ¦€GÙk \ –Þ=â¼=SͧµªS°ÚÍpÜãQűÀõ¬?ÃÁ1Ñ•õZà?hóœ€ L¦l{Y*K˜Ù›zc˜–ˆâ ø+¾ ­-Ök¥%ùEÜA'}ˆ><ÊIè“bpÍ/qÞâvoX€w,\úªò6Z[XdÒæ­@Ö—€$òJí#é>'°Ú ôª˜<)4ryÙ£|óAÅn5žêŸyÒäMÝ2{"}‰–¤l÷ûWX\l¾Á¸góÉOÔ /óñB¤f¸çñ[.P˜ZsÊË*ßT܈§QN¢’¡¨§V¼(Üù*eÕ“”5T¨‹Âê¥FŒã½Dü[8'Ò¥a…Ú¶k7a *•›¼'Ò·\8¨ª\@\õ¢¦íq+DÙrmÎ…_ªæ»ŠÓœ¡¯’Ré9MÅ×D™lælffc+ŒÑ,ý™ÿ ¯þǤ=Å’Á7µ÷ÚÛ/“Ü€ñýã¼àí¾ÕÑ+ƒ,uµMâÀÄbm:ÒÎPæ{˜Gz[ƒ¯«® KHà`ߨŠéí¯P8Aq.C‰ à€kòpj´kN¶qô€…Õ,ÜNŠª-­{Zö’æû44‰sŽè‰îVíRœÕm" 6?³D9¡ÇTíÅꋇ`4«¸ÝÁô ï’ýorqКÇZ«x4Žâéþuïf¹µö[P ,Q£éaX±`PÉÍZ ¸äYúg üAx ’6Lê‚xÝÓ*äQ  Ï’¨hÍ =²,6ï#rÃ<¯–£»ƒ‹,–ê•€ aÛsñ'%Æ"®ÛüìBᝠHÚ3ß°©$“XnœÖ’î2ËTeûìxîß ¦å¿çÉ ðK§þ{‘t‚Ϋ¬jéîZ[ ”š7L¥4VÚCE×]m¤Øy”ä4-dz£œ§¸x.*ãÊÊ b÷•h:©‡¦s`BTÁRû¾g⻩‹jø sF¢àJøFl‘È•Xᓁà~*j¯ +(ÚÕ6-£¯÷GŠØy‚<Ç’.F‹Hœw(+)ÜÜâÈzÄäT§FߘãÏ;DmVœ3Àu@mÚüXÝü•3B¨òÌÁÛ<·ÃÜ z,Ì@õÅ·d2]ü8s÷IôÞ¯^Ç9¢u„~ëAŸï4«M? K]­ÅàPl@s_ p:°¬ZR”´›JC[CS.h‹ƒïËœ«Æ]–÷ó‚wR×k7X‰k›‘´ù¦=¡«‰¨¨Â')—71ó’c‡Ðúµ `é.{§p¹ój\Ž{1h{o±Ý=áUÊïGÖŒõ–-BÄm+AZX¶¡ ïHðæ¥JmÙ;…䡟ˆ¦ ° äšiÉg«$üMk5¤L“’çÊvïâï ,=f“"íἊ5ô¬x6{ɏžID0e¸vçmi'︧ºð9$ò¹÷*£’9ÿ ²TÔ…×>JV¥}Œ}$p[bÔ®*[jzS*8 ”·T›Í–ñUîƒwo$áè=LT™ç—~ô·¤ÈÚ$榍q‰„+´kFm)ž‹©i–ËqÞŠ‰à¶ü( ‚•§ •°ò·‡#5ª•µÊ﯅¡X¨šÁ*F#TXJÊ ušJVÍ&=iÄs1‚3•'fý§5Ñ<=[íÞ­ PÚ;ѱÌ_~Ä££8rÞ ²w;’hDT°>ÈG¬8Á²ÚzŽ®ò®qZcqJêäÞ-ö[ܘbň±çb“ж31²n×iƒðÕ;1¶þÉ ªX‰,ßqÏ$>•î íZ¥Z 1{ç൵+ƒÕµ¥°T$§K]á»Ûï*·¤tMI’ÂZbŽÕiÒ˜}bÓ0£ª5›¨ [5Ž^ÝœWøÂÝh° ¢OWun£¤5 a2Z.G2³YL]jåtì”ä ÁÓ‘%"©<Ôúʰsº UZvä‡ÄiÆÒM .÷V·™ø#kèýiíÌ–ª)µT[)BˆõÑ xB¾B€ÖT¨.¥~ð@VĶr#¸ü*åZNDŽH;âi ],©£öØpù(šºãö¼T.uCê•4@ÿ GÕÛ)Cx›®0ø#:ÏðFÒbR\(€€Ä®fã4Þ‰Fä¯HXƒÅ,†öEÑÔÜ]Öv²?tLÃvBY£ú6Êu5ÅAQ³1‘’¬x–HŒÐ‡ ^ ¸KwJôÖŽ5×CÚ¨vÜ«/B0$×k°=ðbÇ(Ï)w±A†Á† 11Í=èQšµ626ŒÜ/`G«µ<}—-Ö7KEHÈÉðóȤmݱû±·ø«Snmá=“䫚mݱŸ¡¶~ó·“äUóJæúòB|E LêŽy´jDÔ$G¢þÐñ7óR8ýÒ…Ç› WVe#·Ÿ p·Fx~•ݤF÷0Èÿ K¯æS<6’¡WШ; ´ÿ ¥Êø\Òuî†åÝ–VNœkÒ7oòX¨Á­Ø÷FÎÑä±g÷ÿ M~Çî=p,X´ ÝÌÚÅ‹’ÃjÖ.ØöÏñ qïQ¤ÓZE†° =6·]܈ s¸>v•Ž^Ý\wq9r‰Î\¸¡kURÒ$­*‹Nq?Þª*!sŠÆ:TU_u±T+øX¡ ®¹¡,ÄâÃBTsÜ$Ø›4m椴zÜK]’’›Pƒ @€#â˜`é¹=I‡fiV•Ôî“nRm+µFPOhÍ0B£ €+¬5c v•:P'ÒyÎ ‰V~‚Ó†ÖuókDoh$å\*ö%Ю=£«…aȼ½÷Û.-½VŒŠ¼'lyî±1¬3ó#ÞE¿ÔS¤gV£m›=§\û"—WU¤ÚǼÿ ÂnÁGŒÃ ‚õN D³õNÚíŒÕ;HôyÄÈ©P¹Ä{:?R‘Ô¨âF÷ø£bÅó® JS|‚R÷ivýáâ€Æé¡è³´IئÑT!§˜•ت‚¬â@q€wnïCWÄ@JU€ê¯m6]Ï:£âx'+ÒðXvÓ¦Úm=–´7œ $ì“B£~p%ÕŸUþ« N@¼üï~w˜ñø5®—'Ôe»¤5ã//€ž~‰Tþ›Å7•#¤× Íö pÄ$ùeåì*«ÓŠEØWEÈsßg ¦ûvžSsLpºÊW–âµEWöˬH; ™!CYõZ ÃÄf æ#1W. \uWâ\,\Çf j’<qTbên›Î[vxx£ë 'ö¨1›˜ÀM¼Pÿ H)ƒêêŒA7s,|F“ 꺸k³9Ìö*ç®;Ö!Ö$Eiž•¹ÒÚ†ýóéÝû¾ÕS®ó$’NÝäŸz¤5r¦ãÄÃD÷Üø!°ø‡Ô&@m™Ì^Ãä­d q5Lnÿ N;.6½·N|#ä"1Nƒx“ã<3('&ñßt  ~ªu”1Tb㫨9ê–›–bìd$ߣ=#ÕãÒmU¯eí$EFù5ýYô櫨æì™Ç—±ssM]·á¿0ÕåJRÓªîiƒ+O58ÖñªŠÒx" \µâá¨i’¤i —Ö ” M+M¤ë9‚‰A¦°Qõ¾ßøK~¼Ã‘g…Ö´~÷Ï[3GUœÒ½#…kàÔ®Ò”‰³·dWV‰IP‰Ú8u¹”E ÖqLj¾êÕCBš{A^Âß;–¨`¯¬ìö ˼ ×tìø.tƐm*n¨y4o&Àx¥n¦×î‡aupáÛj8¿m›è¶ã!o½;ß0y^ý×^EÑ¿ÒjzŒ­)vÚÑnÄL …^ªô× ‡—‚3k Îý­hï]içå–îÏ*÷ñþ»Ô CÒjøjÍznˆ´ ¹#b'Fô‹ ‰v¥'’à'T´ƒHýÍ%M‰ ƒ&ÆÇŒï1 ‘ –Þ ‰i¬s žR-Ÿ kЬá¬7:þ 0ŒÅÒÕ/aÙ¬ÃÝ#Úøœ ©aiVc‰. ¹¦ãµ” ›Yg¦›ÆÎýº°f³7ƒhá·¸­}&D9¡ÂsÉÙÞèŠõØàC™¨ñbFC|´Ü(ŸƒÚÒ-%»'a Ì¿)ËÇn¿úÿ ÞŽX…4ÊÅH^ôΑí@ù¹Eh¶“L8Çjù ¼ÎåVªóR©Ï5uà V4lZß®=€xÖŸ–ÑÈ ÷”¨°¾__yM1tÉ?uÆþIkÄgæ@þ[¢†°XÃJ£j·:nkÅ¢u ‘}âGzö­/IµèЬ¼48q¦F°ŽR¼=ûì{´¯RýicS ÕÛ íNtÍÙï£,w4rêì®»~x(©Uñ§#Ñ&œÕ¤>ÎåÍÓ9’Ö{9eV­[Öjâ²ãu]˜å2›qÑšÕJç0€sÄ|Êëè0튔bÁ>“{×_F`Ø©ºê:µä,v¤ðfc1±"«ÔÍän1#=· Âøv~H½ÐßA¾¿Ü€Óš]Õ; I¾÷ç‚Qi†î¹9ywÔKG˜áñ zQY—§ÃÕZ07§X‚ Áh;ÁM)iÌCH-¯T‘ë|A0{Ò½LÚ–TâÖkÜ’dÀ“rmm»”جPF³ÖcbE§T€ÒxKºû’Ó®7±²(\4ŽÃ¸Uu@j™yĵ;³µ!Á¢b.W¤=mõ´êµK k ¸K^ÜÛ#p*Ü14qkZç5ïë †°5Ï%ÍÛ<Õ¤×Ô¥ê†C Õ´¼ú$ƒÖ“”]Ù¬qÞÚ[4©ý!ûÏ—Áb쳐XµA¬â~`›Çr¸8ìùÝ䫦<>ä÷«?xs´ÇÑ /á;¹øüÊÈÙà{"@Žïzâ¬[âß‚ U_<ÇŸ½4èN˜ú61®qŠu ¦þF£»äJ_ˆÙÎ~ ÞAã–݄ϗrŠD;xTž‘ô`É«…suãO`?³à™ô Lý#Íc5öoæØ‚y´´÷«ZR§<&JÇ+éâô´€i!Àˆ0æAoàðLèÖ-2ŸõW.’t^–(KÁmHµV@xÜÇy®Ñø­â^:Ú3w· 7½¹°ñ¸â¹®:',«Mœ—n­Á+Ãbš LÈ‘ÄnRÓÅœ%¦²‰¨ùQ:¤f‚ "PÕtô¸…cæl…&˜Ú˜Ôkv‹ž+vŠ,=¢v­6—Xy*¥t£«<™:“aîϲ=¦6rO]XI¿Œ÷¤zÚ­›¶ 6÷”w\d ü~v®ˆÌk«^m<ÿ ¢‰Õ\)ùºŽ;… lîÙÅEŠ®cѾ@vnMÏ,¼“ñ•ŽBxðÃzãÇç%3ˆ"}Ù•Åî> BÉú;Ò]V+P˜F_´ßé> Øše|ï‡ÄOmFæÇ ãqÞ$/xÐx­z`ï9"œÜij‚!7.\Td…9M‡•iŽ‹¾‘50ÞŽn¥ß4ÉôO ¹*í^QêËÜÇÌ8=ާs‰'ÂëÙ«á%Pú[O †ÅP¯Vsް.‰,kc¶ ¬A9n˜XÎ-ÞšN["¹QÕ‰ƒMýÁߺXJæÍaLj¾×Ãmã¾ãÚ uñÒþåQô¦¥ /ÄUx:‚ÍÜ’ Đ©ØÝ3V¨‰ÕnÐ6ó*óúK­«…c ¯U òhsý­jóÔj#,ímŒRµ«lbïUTŒÑ8†Ä0œÏr`ð¡¬É Ї ë"À² ™ 6¥ f¶ ¢ÚoܱԷ-<Àî)†a¶ž'Ú»¨TXqØæ¶÷YÄHy˜9ÈIW­YÀuMFë ºÏ’AqÌ4·/Ú †ô'i$øä­=Ä Ý|öK×40è|È6p‘0§)o¥ctî§H+CA-“ xØ|ÐXАç l8íºð3Ø:³¤¬KX¯UÿÙ # Change Log ## 1.6.6 (2023-08-08) - [#1327: Changelog v1.6.6](https://github.com/mockery/mockery/pull/1327) - [#1325: Keep the file that caused an error for inspection](https://github.com/mockery/mockery/pull/1325) - [#1324: Fix Regression - Replace `+` Array Union Operator with `array_merge`](https://github.com/mockery/mockery/pull/1324) ## 1.6.5 (2023-08-05) - [#1322: Changelog v1.6.5](https://github.com/mockery/mockery/pull/1322) - [#1321: Autoload Test Fixtures Based on PHP Runtime Version](https://github.com/mockery/mockery/pull/1321) - [#1320: Clean up mocks on destruct](https://github.com/mockery/mockery/pull/1320) - [#1318: Fix misspelling in docs](https://github.com/mockery/mockery/pull/1318) - [#1316: Fix compatibility issues with PHP 7.3](https://github.com/mockery/mockery/pull/1316) - [#1315: Fix PHP 7.3 issues](https://github.com/mockery/mockery/issues/1315) - [#1314: Add Security Policy](https://github.com/mockery/mockery/pull/1314) - [#1313: Type declaration for `iterable|object`.](https://github.com/mockery/mockery/pull/1313) - [#1312: Mock disjunctive normal form types](https://github.com/mockery/mockery/pull/1312) - [#1299: Test PHP `8.3` language features](https://github.com/mockery/mockery/pull/1299) ## 1.6.4 (2023-07-19) - [#1308: Changelog v1.6.4](https://github.com/mockery/mockery/pull/1308) - [#1307: Revert `src` to `library` for `1.6.x`](https://github.com/mockery/mockery/pull/1307) ## 1.6.3 (2023-07-18) - [#1304: Remove `extra.branch-alias` and update composer information](https://github.com/mockery/mockery/pull/1304) - [#1303: Update `.gitattributes`](https://github.com/mockery/mockery/pull/1303) - [#1302: Changelog v1.6.3](https://github.com/mockery/mockery/pull/1302) - [#1301: Fix mocking classes with `new` initializers in method and attribute params on PHP 8.1](https://github.com/mockery/mockery/pull/1301) - [#1298: Update default repository branch to latest release branch](https://github.com/mockery/mockery/issues/1298) - [#1297: Update `Makefile` for contributors](https://github.com/mockery/mockery/pull/1297) - [#1294: Correct return types of Mock for phpstan](https://github.com/mockery/mockery/pull/1294) - [#1290: Rename directory `library` to `src`](https://github.com/mockery/mockery/pull/1290) - [#1288: Update codecov workflow](https://github.com/mockery/mockery/pull/1288) - [#1287: Update psalm configuration and workflow](https://github.com/mockery/mockery/pull/1287) - [#1286: Update phpunit workflow](https://github.com/mockery/mockery/pull/1286) - [#1285: Enforce the minimum required PHP version](https://github.com/mockery/mockery/pull/1285) - [#1283: Update license and copyright information](https://github.com/mockery/mockery/pull/1283) - [#1282: Create `COPYRIGHT.md` file](https://github.com/mockery/mockery/pull/1282) - [#1279: Bump `vimeo/psalm` from `5.9.0` to `5.12.0`](https://github.com/mockery/mockery/pull/1279) ## 1.6.2 (2023-06-07) - [#1276: Add `IsEqual` Argument Matcher](https://github.com/mockery/mockery/pull/1276) - [#1275: Add `IsSame` Argument Matcher](https://github.com/mockery/mockery/pull/1275) - [#1274: Update composer branch alias](https://github.com/mockery/mockery/pull/1274) - [#1271: Support PHP 8.2 `true` Literal Type](https://github.com/mockery/mockery/pull/1271) - [#1270: Support PHP 8.0 `false` Literal Type](https://github.com/mockery/mockery/pull/1270) ## 1.6.1 (2023-06-05) - [#1267 Drops support for PHP <7.4](https://github.com/mockery/mockery/pull/1267) - [#1192 Updated changelog for version 1.5.1 to include changes from #1180](https://github.com/mockery/mockery/pull/1192) - [#1196 Update example in README.md](https://github.com/mockery/mockery/pull/1196) - [#1199 Fix function parameter default enum value](https://github.com/mockery/mockery/pull/1199) - [#1205 Deal with null type in PHP8.2](https://github.com/mockery/mockery/pull/1205) - [#1208 Import MockeryTestCase fully qualified class name](https://github.com/mockery/mockery/pull/1208) - [#1210 Add support for target class attributes](https://github.com/mockery/mockery/pull/1210) - [#1212 docs: Add missing comma](https://github.com/mockery/mockery/pull/1212) - [#1216 Fixes code generation for intersection types](https://github.com/mockery/mockery/pull/1216) - [#1217 Add MockeryExceptionInterface](https://github.com/mockery/mockery/pull/1217) - [#1218 tidy: avoids require](https://github.com/mockery/mockery/pull/1218) - [#1222 Add .editorconfig](https://github.com/mockery/mockery/pull/1222) - [#1225 Switch to PSR-4 autoload](https://github.com/mockery/mockery/pull/1225) - [#1226 Refactoring risky tests](https://github.com/mockery/mockery/pull/1226) - [#1230 Add vimeo/psalm and psalm/plugin-phpunit](https://github.com/mockery/mockery/pull/1230) - [#1232 Split PHPUnit TestSuites for PHP 8.2](https://github.com/mockery/mockery/pull/1232) - [#1233 Bump actions/checkout to v3](https://github.com/mockery/mockery/pull/1233) - [#1234 Bump nick-invision/retry to v2](https://github.com/mockery/mockery/pull/1234) - [#1235 Setup Codecov for code coverage](https://github.com/mockery/mockery/pull/1235) - [#1236 Add Psalm CI Check](https://github.com/mockery/mockery/pull/1236) - [#1237 Unignore composer.lock file](https://github.com/mockery/mockery/pull/1237) - [#1239 Prevent CI run duplication](https://github.com/mockery/mockery/pull/1239) - [#1241 Add PHPUnit workflow for PHP 8.3](https://github.com/mockery/mockery/pull/1241) - [#1244 Improve ClassAttributesPass for Dynamic Properties](https://github.com/mockery/mockery/pull/1244) - [#1245 Deprecate hamcrest/hamcrest-php package](https://github.com/mockery/mockery/pull/1245) - [#1246 Add BUG_REPORT.yml Issue template](https://github.com/mockery/mockery/pull/1246) - [#1250 Deprecate PHP <=8.0](https://github.com/mockery/mockery/issues/1250) - [#1253 Prevent array to string conversion when serialising a Subset matcher](https://github.com/mockery/mockery/issues/1253) ## 1.6.0 (2023-06-05) [DELETED] This tag was deleted due to a mistake with the composer.json PHP version constraint, see [#1266](https://github.com/mockery/mockery/issues/1266) ## 1.3.6 (2022-09-07) - PHP 8.2 | Fix "Use of "parent" in callables is deprecated" notice #1169 ## 1.5.1 (2022-09-07) - [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 ## 1.5.0 (2022-01-20) - 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 (2021-09-13) - 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 (2021-09-13) - 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 ## 1.4.3 (2021-02-24) - 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 (2021-02-24) - Fixes calls to fetchMock before initialisation #1113 - Fix crash on a union type including null #1106 ## 1.4.2 (2020-08-11) - 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) ## 1.4.1 (2020-07-09) - 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) ## 1.3.3 (2020-08-11) - Fix array to string conversion in ConstantsPass (#1086) - Fixed nullable PHP 8.0 union types (#1088) - Fixed support for PHP 8.0 parent type (#1088) - Fixed PHP 8.0 mixed type support (#1088) - Fixed PHP 8.0 union return types (#1088) ## 1.3.2 (2020-07-09) - Fix mocking with anonymous classes (#1039) - Fix andAnyOthers() to properly match earlier expectations (#1051) - Added provisional support for PHP 8.0 (#1068, #1072,#1079) - Fix mocking methods with iterable return type without specifying a return value (#1075) ## 1.4.0 (2020-05-19) - Fix mocking with anonymous classes (#1039) - Fix andAnyOthers() to properly match earlier expectations (#1051) - Drops support for PHP < 7.3 and PHPUnit < 8 (#1059) ## 1.3.1 (2019-12-26) - Revert improved exception debugging due to BC breaks (#1032) ## 1.3.0 (2019-11-24) - Added capture `Mockery::capture` convenience matcher (#1020) - Added `andReturnArg` to echo back an argument passed to a an expectation (#992) - Improved exception debugging (#1000) - Fixed `andSet` to not reuse properties between mock objects (#1012) ## 1.2.4 (2019-09-30) - Fix a bug introduced with previous release, for empty method definition lists (#1009) ## 1.2.3 (2019-08-07) - Allow mocking classes that have allows and expects methods (#868) - Allow passing thru __call method in all mock types (experimental) (#969) - Add support for `!` to blacklist methods (#959) - Added `withSomeOfArgs` to partial match a list of args (#967) - Fix chained demeter calls with type hint (#956) ## 1.2.2 (2019-02-13) - Fix a BC breaking change for PHP 5.6/PHPUnit 5.7.27 (#947) ## 1.2.1 (2019-02-07) - Support for PHPUnit 8 (#942) - Allow mocking static methods called on instance (#938) ## 1.2.0 (2018-10-02) - Starts counting default expectations towards count (#910) - Adds workaround for some HHVM return types (#909) - Adds PhpStorm metadata support for autocomplete etc (#904) - Further attempts to support multiple PHPUnit versions (#903) - Allows setting constructor expectations on instance mocks (#900) - Adds workaround for HHVM memoization decorator (#893) - Adds experimental support for callable spys (#712) ## 1.1.0 (2018-05-08) - Allows use of string method names in allows and expects (#794) - Finalises allows and expects syntax in API (#799) - Search for handlers in a case instensitive way (#801) - Deprecate allowMockingMethodsUnnecessarily (#808) - Fix risky tests (#769) - Fix namespace in TestListener (#812) - Fixed conflicting mock names (#813) - Clean elses (#819) - Updated protected method mocking exception message (#826) - Map of constants to mock (#829) - Simplify foreach with `in_array` function (#830) - Typehinted return value on Expectation#verify. (#832) - Fix shouldNotHaveReceived with HigherOrderMessage (#842) - Deprecates shouldDeferMissing (#839) - Adds support for return type hints in Demeter chains (#848) - Adds shouldNotReceive to composite expectation (#847) - Fix internal error when using --static-backup (#845) - Adds `andAnyOtherArgs` as an optional argument matcher (#860) - Fixes namespace qualifying with namespaced named mocks (#872) - Added possibility to add Constructor-Expections on hard dependencies, read: Mockery::mock('overload:...') (#781) ## 1.0.0 (2017-09-06) - Destructors (`__destruct`) are stubbed out where it makes sense - Allow passing a closure argument to `withArgs()` to validate multiple arguments at once. - `Mockery\Adapter\Phpunit\TestListener` has been rewritten because it incorrectly marked some tests as risky. It will no longer verify mock expectations but instead check that tests do that themselves. PHPUnit 6 is required if you want to use this fail safe. - Removes SPL Class Loader - Removed object recorder feature - Bumped minimum PHP version to 5.6 - `andThrow` will now throw anything `\Throwable` - Adds `allows` and `expects` syntax - Adds optional global helpers for `mock`, `namedMock` and `spy` - Adds ability to create objects using traits - `Mockery\Matcher\MustBe` was deprecated - Marked `Mockery\MockInterface` as internal - Subset matcher matches recursively - BC BREAK - Spies return `null` by default from ignored (non-mocked) methods with nullable return type - Removed extracting getter methods of object instances - BC BREAK - Remove implicit regex matching when trying to match string arguments, introduce `\Mockery::pattern()` when regex matching is needed - Fix Mockery not getting closed in cases of failing test cases - Fix Mockery not setting properties on overloaded instance mocks - BC BREAK - Fix Mockery not trying default expectations if there is any concrete expectation - BC BREAK - Mockery's PHPUnit integration will mark a test as risky if it thinks one it's exceptions has been swallowed in PHPUnit > 5.7.6. Use `$e->dismiss()` to dismiss. ## 0.9.4 (XXXX-XX-XX) - `shouldIgnoreMissing` will respect global `allowMockingNonExistentMethods` config - Some support for variadic parameters - Hamcrest is now a required dependency - Instance mocks now respect `shouldIgnoreMissing` call on control instance - This will be the *last version to support PHP 5.3* - Added `Mockery\Adapter\Phpunit\MockeryPHPUnitIntegration` trait - Added `makePartial` to `Mockery\MockInterface` as it was missing ## 0.9.3 (2014-12-22) - Added a basic spy implementation - Added `Mockery\Adapter\Phpunit\MockeryTestCase` for more reliable PHPUnit integration ## 0.9.2 (2014-09-03) - Some workarounds for the serialisation problems created by changes to PHP in 5.5.13, 5.4.29, 5.6. - Demeter chains attempt to reuse doubles as they see fit, so for foo->bar and foo->baz, we'll attempt to use the same foo ## 0.9.1 (2014-05-02) - Allow specifying consecutive exceptions to be thrown with `andThrowExceptions` - Allow specifying methods which can be mocked when using `Mockery\Configuration::allowMockingNonExistentMethods(false)` with `Mockery\MockInterface::shouldAllowMockingMethod($methodName)` - Added andReturnSelf method: `$mock->shouldReceive("foo")->andReturnSelf()` - `shouldIgnoreMissing` now takes an optional value that will be return instead of null, e.g. `$mock->shouldIgnoreMissing($mock)` ## 0.9.0 (2014-02-05) - Allow mocking classes with final __wakeup() method - Quick definitions are now always `byDefault` - Allow mocking of protected methods with `shouldAllowMockingProtectedMethods` - Support official Hamcrest package - Generator completely rewritten - Easily create named mocks with namedMock