Skip to content

Releases: nette/php-generator

Released version 2.3.3

14 Sep 18:17
@dg dg
Compare
Choose a tag to compare
  • Method, Parameter: added support for PHP 7 type hints
  • Method, Parameter, Property: added and used constructors
  • PhpNamespace::unresolveName() supports for build-in types
  • ClassType: prints one 'use' keyword per trait
  • Method::setParameters() & ClassType::setProperties() & setMethods() retain names in keys

For the details you can have a look at the diff.

Released version 2.3.2

23 Aug 14:10
@dg dg
Compare
Choose a tag to compare
  • Method::from() added support for closures & global functions
  • fixed inconsistencies between 'nullable string' and 'string' properties
  • fixed content for properties $documents
  • ClassType::__toString() refactoring
  • Method, Parameter: added support for build-in types callable, self, parent
  • Method, ClassType: better whitespace usage

For the details you can have a look at the diff.

Released version 2.2.3

23 Aug 14:09
@dg dg
Compare
Choose a tag to compare
  • travis: migrating to container-based infrastructure
  • improved coding style

For the details you can have a look at the diff.

Released version 2.3.1

23 Aug 14:10
@dg dg
Compare
Choose a tag to compare
  • travis: migrating to container-based infrastructure
  • improved coding style

For the details you can have a look at the diff.

Released version 2.2.2

23 Aug 14:09
@dg dg
Compare
Choose a tag to compare
  • added Helpers::MAX_DEPTH
  • phpDocs: new line after multiline docs removed

For the details you can have a look at the diff.

Released version 2.3.0

31 Jan 13:29
@dg dg
Compare
Choose a tag to compare
  • generating PHP files with multiple namespaces & classes
  • removed magic methods (makes it much faster)
  • splits long lines, uses single-quotes strings when possible
  • short phpDoc for properties

Released version 2.2.1

27 Aug 21:26
@dg dg
Compare
Choose a tag to compare
  • fixed dumping of non-public properties
  • ClassType::from processes only own properties

For the details you can have a look at the diff.

Released version 2.2.0

12 May 21:57
@dg dg
Compare
Choose a tag to compare

The first standalone release. For more information see readme.md.