Releases: phpowermove/php-code-generator
Releases · phpowermove/php-code-generator
Version 0.6-beta.1
- Added:
profile
option toCodeGeneratorConfig
- Added:
enableFormatting
option toCodeGeneratorConfig
which usesprofile
andgossi/php-code-formatter
to format code after generation (very experimental) - Changed: Mark
PhpFunction
as deprected (see #35) - Changed: Updated dependencies (#
- Fixed: Properly parse and write FQCN of implemented Interfaces (#51)
- Fixed: Remove traits in first position (#52)
Version 0.5
Version 0.4.2
- Fix Parsing Bug (#42 - thanks to @hhashimoto)
Version 0.4.1
Regression: Only write return types when allowed.
Version 0.4
- Rearchitectured the generator part (#28)
- Compatible with
nikic/php-parser:v2
(#38) - Deprecated
fromReflection()
methods, usefromFile()
instead as reading code from reflection is unreliable and doesn't contain all the information needed, too much boilercode needed to make this happen. (#19, #21, #32, #34) - Removed attribute methods from
AbstractModel
(#29) - Fixed a bug with parsing and generating values and expressions (#31)
- More tests
- Updated docs
Version 0.3.2
Bugfixes with reading and writing constant values/expressions from and to files
Version 0.3.1
Fixed bug with parsing files and properly identify value or expression.
Version 0.3
Version 0.2
- Added:
PhpClass::fromFile()
- Added:
PhpTrait::fromFile()
- Added:
PhpInterface::fromFile()
- Added: more tests
- Added: more docs
- Fixed: Read more docblocks when reading code through reflection
Version 0.1
First release