Skip to content

Releases: bigcommerce/mock-injector

5.0.1: Composer improvements

Choose a tag to compare

@repzy repzy released this 22 Jan 22:44
b555559

phpunit and prophecy-phpunit were moved from require-dev to require.

5.0.0: phpunit improvements

Choose a tag to compare

@repzy repzy released this 18 Jan 01:07
1361de3

[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

Choose a tag to compare

@repzy repzy released this 08 Jan 10:23
f977782

Added PHP ^8.0 and phpunit ^9.0 to composer.json.
Added CircleCi checks.

Drop container-interop

Choose a tag to compare

@software-artificer software-artificer released this 20 Dec 05:56
4b191db

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

Choose a tag to compare

@precariouspanther precariouspanther released this 20 Aug 03:50
c14dd73
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

Choose a tag to compare

@bc-vincent-zhao bc-vincent-zhao released this 31 Jan 23:09
c762400
bump injector version to latest

3.0.1: Merge pull request #8 from petrkotek/risky-tests-fix

Choose a tag to compare

@petrkotek petrkotek released this 18 Jul 07:44

Bugfix: tests with Prophecy predictions don't get marked as risky anymore

PHPUnit 6+, PHP 7+

Choose a tag to compare

@petrkotek petrkotek released this 27 Jun 03:43

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 (use createWithMocks() instead)

PHPUnit 5.6^ support

Choose a tag to compare

@precariouspanther precariouspanther released this 08 May 07:13
Merge pull request #5 from precariouspanther/phpunit-56-support

Add compatibility with PHPUnit 5.6^

Add `setMock` to facilitate constructor expectations

Choose a tag to compare

@precariouspanther precariouspanther released this 08 May 01:22

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).