Releases: mockery/mockery
Releases · mockery/mockery
1.6.12
What's Changed
- 1420: Update
psalm-baseline.xml - 1419: Update e2e-test.sh
- 1417: Bump
Jinja2from3.1.3to3.1.4fix CVE-2024-34064 thanks to @corazzi - 1415: Fix mocking anonymous classes thanks to @lew-tfli and @ghostwriter
- 1413: Upgrade
phartools andphive.xmlconfiguration - 1412: Bump
idnafrom3.6to3.7fix CVE-2024-3651 - 1411: Mocking final classes reports unresolvable type by PHPStan thanks to @Ilyes512
- 1410: Fix PHP Doc Comments thanks to @rolandsusans
Full Changelog: 1.6.11...1.6.12
1.6.11
What's Changed
- 1407: Fix constants map generics doc comments thanks to @gready-hub
- 1406: Fix reserved words used to name a class, interface or trait thanks to @herndlm
- 1403: Fix regression - partial construction with trait methods thanks to @adnweedon
- 1401: Improve
Mockery::mock()parameter type compatibility with array typehints thanks to @LastDragon-ru
New Contributors
- @LastDragon-ru made their first contribution in #1401
Full Changelog: 1.6.10...1.6.11
1.6.10
What's Changed
- 1398: [PHP 8.4] Fixes for implicit nullability deprecation by @Ayesh
- 1397: Fix mock method $args parameter type by @sakarikl
- 1396: Fix
1.6.8release - 1399: Changelog v1.6.10
New Contributors
- @sakarikl made their first contribution in pull request #1397
- @Ayesh made their first contribution in pull request #1398
Thank you
- Special thanks to @mfn for helping with testing on a larger codebase in pull request #1396
Full Changelog: 1.6.8...1.6.10
1.6.9
This tag reverts the 1.6.8 tag, pointing back to the previous commit 1.6.7.
This is done to correct an issue or mistake in the 1.6.8 release.
Sorry for the inconvenience caused.
1.6.8
What's Changed
- #1354: Add array-like objects support to hasKey/hasValue matchers by @kudashevs
- #1355: Fix the namespace in the SubsetTest class by @kudashevs
- #1360: Refactor Container
- #1361: Refactor
library/Mockery.php - #1362: Refactor
library/Mockery/ClosureWrapper.php - #1363: Refactor
library/Mockery/CompositeExpectation.php - #1364: Refactor
library/Mockery/Configuration.php - #1365: Refactor
library/Mockery/Container.php - #1366: Refactor
library/Mockery/Exception.php - #1367: Refactor
library/Mockery/Expectation.php - #1368: Refactor
library/Mockery/ExpectationDirector.php - #1369: Refactor
library/Mockery/ExpectationInterface.php - #1370: Refactor
library/Mockery/ExpectsHigherOrderMessage.php - #1371: Refactor
library/Mockery/HigherOrderMessage.php - #1372: Refactor
library/Mockery/Instantiator.php - #1373: Refactor
library/Mockery/LegacyMockInterface.php - #1374: Refactor
library/Mockery/MethodCall.php - #1375: Refactor
library/Mockery/MockInterface.php - #1383: Refactor
library/helpers.php - #1380: Refactor
library/Mockery/QuickDefinitionsConfiguration.php - #1382: Refactor
library/Mockery/VerificationExpectation.php - #1379: Refactor
library/Mockery/Undefined.php - #1377: Refactor
library/Mockery/ReceivedMethodCalls.php - #1378: Refactor
library/Mockery/Reflector.php - #1376: Refactor
library/Mockery.php - #1381: Refactor
library/Mockery/VerificationDirector.php - #1384: Update
psalm-baseline.xml - #1385: Update composer dependencies and clean up
- #1386: Add PHPUnit 10+ attributes by @ruudk
- #1391: Update actions to use Node 20 by @Chris53897
- #1389: Refactor
library/Mockery/Matcher/* - #1388: Refactor
library/Mockery/Loader/* - #1387: Refactor
library/Mockery/CountValidator/* - #1390: Update
ReadTheDocsdependencies - #1392: Refactor remaining codebase
- #1393: Changelog v1.6.8
New Contributors
- #1354: @kudashevs made their first contribution
- #1386: @ruudk made their first contribution
- #1391: @Chris53897 made their first contribution
Full Changelog: 1.6.7...1.6.8
1.6.7
What's Changed
- 1351: Update psalm-baseline.xml
- 1350: Changelog v1.6.7
- 1349: Cleanup
- 1348: Update makefile
- 1347: Bump phars dependencies
- 1346: Fix test namespaces
- 1344: Disabled travis-ci and sensiolabs webhooks
- 1343: Update documentation default theme and build version
- 1342: Add
.readthedocs.ymlconfiguration - 1340: docs: Remove misplaced semicolumn from code snippet thanks to @Mbauro
- 1339: Update psalm
- 1338: Support PHPUnit constraints as matchers thanks to @oprypkhantc
- 1336: Add factory methods for
IsEqualandIsSamematchers - 1329: Prevent
shouldNotReceivefrom getting overridden by invocation count methods
New Contributors
- @oprypkhantc made their first contribution in #1338
- @Mbauro made their first contribution in #1340
Full Changelog: 1.6.6...1.6.7
1.6.6
1.6.5
What's Changed
- #1321: Autoload Test Fixtures Based on PHP Runtime Version
- #1320: Clean up mocks on destruct
- #1318: Fix misspelling in docs by @asemarian
- #1316: Fix compatibility issues with PHP 7.3
- #1315: Fix PHP 7.3 issues
- #1314: Add Security Policy
- #1313: Type declaration for
iterable|object. by @Girgias and @ghostwriter - #1312: Mock disjunctive normal form types by @fuwasegu and @ghostwriter
- #1299: Test PHP
8.3language features
Full Changelog: 1.6.4...1.6.5
1.6.4
What's Changed
Fixed BC break:
- Bugfix release for breaking changes reported by @ruester in #1306
- Revert
srctolibraryfor1.6.xby @ghostwriter in #1307 - Changelog v1.6.4 #1308
Full Changelog: 1.6.3...1.6.4
1.6.3
What's Changed
- #1302: Changelog v1.6.3
- #1304: Remove
extra.branch-aliasand update composer information - #1303: Update
.gitattributes - #1301: Fix mocking classes with
newinitializers in method and attribute params on PHP 8.1 by @jesperbeisner and @ghostwriter - #1298: Update default repository branch to latest release branch
- #1297: Update
Makefilefor contributors - #1294: Correct return types of Mock for phpstan by @antonsacred
- #1290: Rename directory
librarytosrc - #1288: Update codecov workflow
- #1287: Update psalm configuration and workflow
- #1286: Update phpunit workflow
- #1285: Enforce the minimum required PHP version
- #1283: Update license and copyright information
- #1282: Create
COPYRIGHT.mdfile - #1279: Bump
vimeo/psalmfrom5.9.0to5.12.0
Full Changelog: 1.6.2...1.6.3