Skip to content

Releases: phpowermove/php-code-generator

Version 0.6-beta.1

04 Aug 20:44
Compare
Choose a tag to compare
Version 0.6-beta.1 Pre-release
Pre-release
  • Added: profile option to CodeGeneratorConfig
  • Added: enableFormatting option to CodeGeneratorConfig which uses profile and gossi/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

01 Jul 19:36
Compare
Choose a tag to compare
  • Changed: Minimum PHP version 5.6
  • Removed: Read models from reflection

Version 0.4.2

30 Mar 19:46
Compare
Choose a tag to compare

Version 0.4.1

16 Nov 18:26
Compare
Choose a tag to compare

Regression: Only write return types when allowed.

Version 0.4

16 Nov 12:58
Compare
Choose a tag to compare
  • Rearchitectured the generator part (#28)
  • Compatible with nikic/php-parser:v2 (#38)
  • Deprecated fromReflection() methods, use fromFile() 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

29 Jun 12:40
Compare
Choose a tag to compare

Bugfixes with reading and writing constant values/expressions from and to files

Version 0.3.1

16 Jun 21:14
Compare
Choose a tag to compare

Fixed bug with parsing files and properly identify value or expression.

Version 0.3

29 May 15:52
Compare
Choose a tag to compare
  • Sort use Statements #27
  • More consistent API #22
  • deprecated setDefaultValue(), getDefaultValue(), hasDefaultValue() and unsetDefaultValue() use the same methods without Default #20
  • set Value and Expression #20
  • Full API docs on all public classes #8

Version 0.2

01 Jan 18:23
Compare
Choose a tag to compare
  • 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

11 Dec 16:54
Compare
Choose a tag to compare

First release