Releases: memio/spec-gen
Releases · memio/spec-gen
Actually upgraded to phpspec (beta2)
The branch with the change wasn't merged in the last release (small incident).
Upgraded to phpspec 3 (beta2)
v0.6.0 Released v0.6.0
Upgraded to phpspec 3 (beta)
Due to phpspec sharing some common dependencies with SpecGen:
- dropped support for PHP < 5.6
- dropped support for Symfony Event Dispatcher < 2.7
Updated dependencies
- added support for PHP 7
- added support for Symfony 3
Interface Typehints
- object arguments will now be typehinted against their interface
- object arguments will now be named after their interface (without
Interface
suffix)
Constructor generation
- constructor generation, same as method except:
- it inserts constructor at the begining of the class
- it inserts properties with initialization for each constructor arguments
Use statements
- added insertion of use statements (for each object argument)
Fixed object type hints
- fixed Prophecy test doubles type guessing