Skip to content

Releases: phpowermove/php-code-generator

Version 0.6-beta.1

Version 0.6-beta.1 Pre-release
Pre-release

Choose a tag to compare

@gossi gossi released this 04 Aug 20:44
  • 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

Choose a tag to compare

@gossi gossi released this 01 Jul 19:36
  • Changed: Minimum PHP version 5.6
  • Removed: Read models from reflection

Version 0.4.2

Choose a tag to compare

@gossi gossi released this 30 Mar 19:46

Version 0.4.1

Choose a tag to compare

@gossi gossi released this 16 Nov 18:26

Regression: Only write return types when allowed.

Version 0.4

Choose a tag to compare

@gossi gossi released this 16 Nov 12:58
  • 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

Choose a tag to compare

@gossi gossi released this 29 Jun 12:40

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

Version 0.3.1

Choose a tag to compare

@gossi gossi released this 16 Jun 21:14

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

Version 0.3

Choose a tag to compare

@gossi gossi released this 29 May 15:52
  • 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

Choose a tag to compare

@gossi gossi released this 01 Jan 18:23
  • 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

Choose a tag to compare

@gossi gossi released this 11 Dec 16:54

First release