Releases: mockery/mockery
Releases · mockery/mockery
1.6.2
What's Changed
- Update branch alias for 1.6.x by @gmazzap in #1262
- Merge
main
branch into1.6.x
by @ghostwriter in #1272 - Support PHP 8.0
false
Literal Type by @ghostwriter in #1270 - Support PHP 8.2
true
Literal Type by @ghostwriter in #1271 - Update composer branch alias by @ghostwriter in #1274
- Add
IsSame
Argument Matcher by @ghostwriter in #1275 - Add
IsEqual
Argument Matcher by @ghostwriter in #1276 - Changelog v1.6.2 by @ghostwriter in #1278
New Contributors
Full Changelog: 1.6.1...1.6.2
1.6.1
What's Changed
- Dropped support for PHP <7.4
- Update the changelog to include changes from #1180 by @downsider in #1192
- Update README.md by @karvaka in #1196
- docs: Add missing comma by @TheKhanj in #1212
- Import
MockeryTestCase
fully qualified class name by @Moustafa-Elgammal in #1208 - Fixes code generation for intersection types by @davedevelopment in #1216
- Add .editorconfig by @tontonsb in #1222
- Refactoring risky tests by @ghostwriter in #1226
- Add
vimeo/psalm
andpsalm/plugin-phpunit
by @ghostwriter in #1230 - Switch to PSR-4 autoload by @ghostwriter in #1225
- tidy: avoids require by @davedevelopment in #1218
- Deal with null type in PHP8.2 by @thomasschiet in #1205
- Split PHPUnit TestSuites for PHP 8.2 by @ghostwriter in #1232
- Bump
actions/checkout
to v3 by @ghostwriter in #1233 - Bump
nick-invision/retry
to v2 by @ghostwriter in #1234 - Unignore
composer.lock
file by @ghostwriter in #1237 - Add
Psalm
CI Check by @ghostwriter in #1236 - Prevent CI run duplication by @ghostwriter in #1239
- Add support for target class attributes by @rneudorf-godaddy in #1210
- Setup
Codecov
for code coverage by @ghostwriter in #1235 - Merge branch
1.6.x
into2.0.x
by @ghostwriter in #1242 - Fix function parameter default enum value by @murrant in #1199
- Improve
ClassAttributesPass
for Dynamic Properties by @ghostwriter in #1244 - Add
MockeryExceptionInterface
by @ghostwriter in #1217 - Add PHPUnit workflow for PHP 8.3 by @ghostwriter in #1241
- Add
BUG_REPORT.yml
Issue template by @ghostwriter in #1246 - Deprecate
hamcrest/hamcrest-php
package by @ghostwriter in #1245 - Changelog v1.6.0 by @ghostwriter in #1243
- Deprecate
PHP <=8.0
by @ghostwriter in #1251
New Contributors
- @karvaka made their first contribution in #1196
- @TheKhanj made their first contribution in #1212
- @Moustafa-Elgammal made their first contribution in #1208
- @tontonsb made their first contribution in #1222
- @thomasschiet made their first contribution in #1205
- @rneudorf-godaddy made their first contribution in #1210
- @murrant made their first contribution in #1199
Full Changelog: 1.5.1...1.6.1
1.5.1
1.3.6
1.5.0
1.4.4
- 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