All Versions
41
Latest Version
Avg Release Cycle
87 days
Latest Release
421 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v1.7.1 Changes
September 03, 2017- 👍 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)
-
v1.7.0 Changes
March 02, 2017- ➕ 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)
-
v1.6.2 Changes
November 21, 2016- ➕ 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 Changes
June 07, 2016- Ignored empty method names in invalid
@method
phpdoc - Fixed the mocking of SplFileObject
- Added compatibility with phpdocumentor/reflection-docblock 3
- Ignored empty method names in invalid
-
v1.6.0 Changes
February 15, 2016- 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)
-
v1.5.0 Changes
April 27, 2015- Add support for PHP7 scalar type hints (thanks @trowski)
- Add support for PHP7 return types (thanks @trowski)
- Update internal test suite to support PHP7
-
v1.4.1 Changes
April 27, 2015- Fixed bug in closure-based argument tokens (#181)
-
v1.4.0 Changes
March 27, 2015- Fixed errors in return type phpdocs (thanks @sobit)
- Fixed stringifying of hash containing one value (thanks @avant1)
- Improved clarity of method call expectation exception (thanks @dantleech)
- Add ability to specify which argument is returned in willReturnArgument (thanks @coderbyheart)
- Add more information to MethodNotFound exceptions (thanks @ciaranmcnulty)
- Support for mocking classes with methods that return references (thanks @edsonmedina)
- Improved object comparison (thanks @whatthejeff)
- Adopted '' in composer dependencies (thanks @GrahamCampbell)
- Fixed non-typehinted arguments being treated as optional (thanks @whatthejeff)
- Magic methods are now filtered for keywords (thanks @seagoj)
- More readable errors for failure when expecting single calls (thanks @dantleech)
-
v1.3.1 Changes
November 17, 2014- Fix the edge case when failed predictions weren't recorded for
getCheckedPredictions()
- Fix the edge case when failed predictions weren't recorded for
-
v1.3.0 Changes
November 14, 2014- Add a way to get checked predictions with
MethodProphecy::getCheckedPredictions()
- Fix HHVM compatibility
- Remove dead code (thanks @stof)
- Add support for DirectoryIterators (thanks @shanethehat)
- Add a way to get checked predictions with