Releases: nette/php-generator
Releases · nette/php-generator
Released version 2.3.3
- 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
- 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
- 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
- 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
- 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
- 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
- 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
The first standalone release. For more information see readme.md.