Releases: phpspec/prophecy
Releases · phpspec/prophecy
1.7.6
- Allow sebastian/comparator ^3.0 (@sebastianbergmann)
1.7.5
1.7.4
- Fix issues with PHP 7.2 (thanks @greg0ire)
- Support
object
type hints in PHP 7.2 (thanks @@jansvoboda11)
1.7.3
1.7.2
1.7.1
- Allow PHP5 keywords methods generation on PHP7 (thanks @bycosta)
- Allow reflection-docblock v4 (thanks @GrahamCampbell)
- Check method predictions only once (thanks @dontub)
- Escape file path sent to \SplFileObjectConstructor when running on Windows (thanks @danmartin-epiphany)
1.7.0
- Add full PHP 7.1 Support (thanks @prolic)
- Allow
sebastian/comparator ^2.0
(thanks @sebastianbergmann) - Allow
sebastian/recursion-context ^3.0
(thanks @sebastianbergmann) - Allow
\Error
instances inThrowPromise
(thanks @jameshalsall) - Support
phpspec/phpspect ^3.2
(thanks @Sam-Burns) - Fix failing builds (thanks @Sam-Burns)
1.6.2
- Added support for detecting @method on interfaces that the class itself implements, or when the stubbed class is an interface itself (thanks @Seldaek)
- Added support for sebastian/recursion-context 2 (thanks @sebastianbergmann)
- Added testing on PHP 7.1 on Travis (thanks @danizord)
- Fixed the usage of the phpunit comparator (thanks @Anyqax)
v1.6.1
v1.6.0
- Add Variadics support (thanks @pamil)
- Add ProphecyComparator for comparing objects that need revealing (thanks @jon-acker)
- Add ApproximateValueToken (thanks @dantleech)
- Add support for 'self' and 'parent' return type (thanks @bendavies)
- Add __invoke to allowed reflectable methods list (thanks @ftrrtf)
- Updated ExportUtil to reflect the latest changes by Sebastian (thanks @jakari)
- Specify the required php version for composer (thanks @jakzal)
- Exclude 'args' in the generated backtrace (thanks @oradwell)
- Fix code generation for scalar parameters (thanks @trowski)
- Fix missing sprintf in InvalidArgumentException __construct call (thanks @emmanuelballery)
- Fix phpdoc for magic methods (thanks @Tobion)
- Fix PhpDoc for interfaces usage (thanks @ImmRanneft)
- Prevent final methods from being manually extended (thanks @kamioftea)
- Enhance exception for invalid argument to ThrowPromise (thanks @Tobion)