Skip to content

Releases: phpspec/prophecy-phpunit

2.2.0

01 Mar 12:06
v2.2.0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.2.0

2.1.0

08 Dec 12:49
v2.1.0
Compare
Choose a tag to compare
  • Add support for PHPUnit 10.1+ (10.0 is not supported)
  • Bump requirement to Prophecy 1.18+

2.0.2

18 Apr 14:40
v2.0.2
Compare
Choose a tag to compare

What's Changed

  • Fix a PSALM annotation by @dunglas in #26
  • Add @not-deprecated annotation to avoid PHPStan errors by @func0der in #52

Full Changelog: v2.0.1...v2.0.2

2.0.1

01 Dec 12:50
v2.0.1
Compare
Choose a tag to compare

Add support for PHP 8

2.0.0

29 Jun 14:47
v2.0.0
Compare
Choose a tag to compare

Rewrite of the library for PHPUnit 9.1+, with a new API based on a trait rather than a base class.

1.1.0

09 Feb 11:23
Compare
Choose a tag to compare
  • Remove the requirement to call the parent setUp method
  • Add the assertion count for predictions to be compatible with PHPUnit strict mode

Note that this integration in the ProphecyTestCase is not necessary anymore for PHPUnit 4.5 as it provides support for prophecy natively (using the same prophesize API so the migration is a matter of changing the parent class)

abstract ProphecyTestCase class

03 Mar 23:04
Compare
Choose a tag to compare

Marked the ProphecyTestCase as abstract to avoid PhpUnit to try running it as a testcase