- Add more precise type for the
prophesize
method
- Add support for PHPUnit 11
Add support for PHPUnit 10.1+ (10.0 is not supported) Bump requirement to Prophecy 1.18+
Add the @not-deprecated
annotation to avoid phpstan reporting prophesize
as deprecated due to the TestCase deprecation.
Add support for PHP 8
Rewrite of the library for PHPUnit 9.1+, with a new API based on a trait rather than a base class.
- Remove the requirement to call the parent
setUp
method - Add the assertion count for predictions to be compatible with PHPUnit strict mode
- Marked the
ProphecyTestCase
as abstract to avoid PhpUnit to try running it
- Initial release