Releases: bigcommerce/mock-injector
Release list
5.0.1: Composer improvements
phpunit and prophecy-phpunit were moved from require-dev to require.
5.0.0: phpunit improvements
[BC-BREAK] Added phpspec/prophecy-phpunit package to fix deprecation errors in phpunit9.
Tests now fails on warning and risky.
4.1.0: PHP 8 and phpunit 9 support
Added PHP ^8.0 and phpunit ^9.0 to composer.json.
Added CircleCi checks.
Drop container-interop
Drop deprecated container-interop intermediary and replace it with direct dependency on psr/container. Provide updates to support PHPUnit 8.x.
PHPUnit ^7.0 Compatability
Merge pull request #10 from precariouspanther/phpunit-7 Add compatibility with PHPUnit ^7.0
3.0.2: Merge pull request #9 from bc-vincent-zhao/version-bump
bump injector version to latest
3.0.1: Merge pull request #8 from petrkotek/risky-tests-fix
Bugfix: tests with Prophecy predictions don't get marked as risky anymore
PHPUnit 6+, PHP 7+
This major release:
- now supports PHPUnit 6+ and PHP 7+
- dropping support of PHPUnit 5 and PHP 5.6
- deprecated
AutoMockingTest::autoMock()method has been removed (usecreateWithMocks()instead)
PHPUnit 5.6^ support
Merge pull request #5 from precariouspanther/phpunit-56-support Add compatibility with PHPUnit 5.6^
Add `setMock` to facilitate constructor expectations
Adds method to set mocks to the MockingContainer to be used by the MockInjector when instantiating test subjects. This allows engineers to set expectations on prophecy objects used during construction (rather than always creating prophecies on demand).