Tags: allcode/zend-code
Tags
## 3.3.0 - 2017-10-20 ### Added - [zendframework#131](zendframework#131) added the ability to omit a parameter type declaration - [zendframework#132](zendframework#132) added a lightweight `MethodGenerator::copyMethodSignature()` constructor that only copies the method declaration with no body nor docblock. - [zendframework#134](zendframework#134) short array notation is now used by default for generated array values - [zendframework#136](zendframework#136) added the ability to specify an `omitdefaultvalue` key when using `ParameterGenerator::fromArray()` ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - [zendframework#130](zendframework#130) Updated links to the documentation - [zendframework#133](zendframework#133) The default value of a `ParameterGenerator` is always a `ValueGenerator`
## 3.2.0 - 2017-07-23 ### Added - [zendframework#112](zendframework#112) [zendframework#110](zendframework#110) Introduced support for the PHP `7.2` `object` type-hint - [zendframework#41](zendframework#41) Added `VarTag` support to the docblock generators and reflectors: allows generating and parsing `@var` tags. - [zendframework#113](zendframework#113) Added PHP `7.2` to the build matrix - [zendframework#114](zendframework#114) Increased minimum supported PHP version to `^7.1.0` - [zendframework#114](zendframework#114) Upgraded PHPUnit dependency to `^6.2.2` - [zendframework#121](zendframework#121) Imported global functions via `use` statements (experimenting with OpCache OPCODE inlining optimisations) ### Deprecated - Nothing. ### Removed - [zendframework#113](zendframework#113) [zendframework#118](zendframework#118) Removed HHVM support - [zendframework#122](zendframework#122) Removed IRC notifications for pushes/build statuses ### Fixed - [zendframework#101](zendframework#101) avoid calling `isInternalPhpType` twice in the `TypeGenerator` - [zendframework#115](zendframework#115) Replaced assertions in the test suite with their static counterparts where applicable - [zendframework#120](zendframework#120) [zendframework#109](zendframework#109) [zendframework#100](zendframework#100) Applied ZendFramework coding standard to the library code - [zendframework#119](zendframework#119) Corrected test suite errors caused by mismatching parameter order - [zendframework#106](zendframework#106) - [zendframework#107](zendframework#107) Minor typing error corrections in documentation and error messages Total issues resolved: **16** - [41: Add @var tag support in dockblocks](zendframework#41) thanks to @red-led - [100: New coding standard](zendframework#100) thanks to @Koopzington - [101: Don't call isInternalPhpType() twice in TypeGenerator](zendframework#101) thanks to @danez - [106: Minor spelling fixes](zendframework#106) thanks to @ka7 - [107: Fixed typo](zendframework#107) thanks to @dverkade - [109: Feature - extended CS sniffs](zendframework#109) thanks to @webimpress - [110: Add support for PHP 7.2's `object` type hint](zendframework#110) thanks to @Ocramius - [112: Introduce PHP7.2 `object` type hint](zendframework#112) thanks to @shulard - [113: Drop hhvm build, added PHP 7.2 (nightly) build](zendframework#113) thanks to @webimpress - [114: Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2](zendframework#114) thanks to @webimpress - [115: Changed all assertions to self::assert instead of $this->...](zendframework#115) thanks to @webimpress - [118: Fixed travis configuration - removed hhvm in condition](zendframework#118) thanks to @webimpress - [119: Fixes in tests - changed order of params](zendframework#119) thanks to @webimpress - [120: Rebased zendframework#100 - New coding standard](zendframework#120) thanks to @webimpress - [121: Import PHP internal functions](zendframework#121) thanks to @webimpress - [122: Remove IRC notifications in travis configuration](zendframework#122) thanks to @webimpress
### Added - [zendframework#87](zendframework#95) support for PHP 7.1's `void` return type declaration. - [zendframework#87](zendframework#95) support for PHP 7.1's nullable type declarations. - [zendframework#87](zendframework#95) support for PHP 7.1's `iterable` type declaration. - [zendframework#62](zendframework#62) added `Zend\Code\Generator\MethodGenerator#getReturnType()` accessor. - [zendframework#68](zendframework#68) [zendframework#26](zendframework#26) added mutators to allow removing/checking for existence of methods, properties, constants, parameters and type declarations across all the code generator API. - [zendframework#65](zendframework#65) continuous integration testing now checks locked, newest and oldest dependency sets. ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - Nothing. Total issues resolved: **5** - [26: completes hasSomething & removeSomething methods on the Classgenerator](zendframework#26) - [62: Add 'returntype' case to MethodGenerator::fromArray()](zendframework#62) - [65: add composer.lock & update travis config](zendframework#65) - [68: Make it possible to remove properties and constants form a class.](zendframework#68) - [87: PHP 7.1 support](zendframework#87)
### Added - Nothing. ### Deprecated - Nothing. ### Removed - Nothing. ### Fixed - [zendframework#92](zendframework#92) corrected `Zend\Code\Scanner\ClassScanner` to detect multiple interface inheritance. - [zendframework#95](zendframework#95) corrected `Zend\Code\Generator\ParameterGenerator` to allow copying parameter signatures for non-optional parameters that are still nullable via a default `= null` value. - [zendframework#94](zendframework#94) corrected `Zend\Code\Generator\ValueGenerator` so that class constants can now be generated with arrays as default value (supported since PHP 5.6). Total issues resolved: **5** - [89: Remove fast&zendframework#95;finish flag](zendframework#89) - [90: ClassScanner::getInterfaces() don't work correctly with Interface](zendframework#90) - [92: 1. Fix ClassScanner::getInterfaces() which don't work with Interface.](zendframework#92) - [94: Allow arrays as constant values in generated constants](zendframework#94) - [95: Fix generation of non-optional object parameters that can be null.](zendframework#95)
zend-code 3.0.4 Added ----- - Nothing. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [zendframework#59](zendframework#59) fixes an issue with detection of multiple trait `use` statements. - [zendframework#75](zendframework#75) provides a patch to ensure that `extends` statements qualify the parent class based on the current namespace and/or import statements.
zend-code 3.0.3 Added ----- - [zendframework#66](zendframework#66) publishes the documentation to https://docs.zendframework.com/zend-code/. Deprecated ---------- - Nothing. Removed ------- - Nothing. Fixed ----- - [zendframework#61](zendframework#61) fixes an issue with how parameter typehints were generated; previously, fully-qualified class names were not being generated with the leading backslash, causing them to attempt to resolve as if they were relative to the current namespace. - [zendframework#69](zendframework#69) fixes an issue with how class names under the same namespace are generated when generating typehints, extends, and implements values; they now strip the common namespace from the class name. - [zendframework#72](zendframework#72) fixes an issue within the `TokenArrayScanner` when scanning closures.
PreviousNext