Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Tags: zendframework/zend-code

Tags

release-3.4.1

Toggle release-3.4.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-code 3.4.1

Added
-----

- [#180](#180) adds support for PHP 7.4.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#179](#179) fixes exception message when invalid value provided in `Zend\Code\Generator\ValueGenerator`.

- [#180](https://github.com/zendframework/zend-code/pull/190) fixes PHP 7.4 compatibility.

release-3.4.0

Toggle release-3.4.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-code 3.4.0

Added
-----

- [#170](#170) adds class constant visibility modifiers support.

- [#169](#169) adds the ability to define declare statements.

- [#167](#167) adds the ability to remove doc block of a member.

Changed
-------

- [#166](#166) changes omitting default property value if it is null.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#172](#172) fixes PHP 7.4 compatibility.

release-3.3.2

Toggle release-3.3.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
michalbundyra Michał Bundyra
zend-code 3.3.2

Added
-----

- [#162](#162) adds support for PHP 7.3.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#171](#171) changes
  curly braces in array and string offset access to square brackets
  in order to prevent issues under the upcoming PHP 7.4 release.

- [#164](#164) fixes indentation in multi-level arrays generated by `ValueGenerator`.

release-3.3.1

Toggle release-3.3.1's commit message
zend-code 3.3.1

Added
-----

- Nothing.

Changed
-------

- Nothing.

Deprecated
----------

- Nothing.

Removed
-------

- Nothing.

Fixed
-----

- [#158](#158) updates several `switch` cases to use `break` instead of `continue`
  in order to prevent issues under the upcoming PHP 7.3 release.

- [#147](#147) fixes the regular expression used for `@var` annotations to
  allow omission of the variable name.

- [#146](#146) updates all `@return` annotations to reflect the correct types returned by each method.

- [#144](#144) fixes the class generator such that it now resolves
  `setExtendedClass()` arguments to aliases provided to the generator.

- [#140](#140) fixes `MethodScanner::setVisibility()` such that it no longer
  casts the provided visibility token to lower case; this fix is necessary, as
  the method is supposed to expect only the appropriate
  `T_(PUBLIC|PROTECTED|PRIVATE)` token values, which are integers.

- [#140](#140) updates the `MethodScanner::setVisibility()` method to raise
  a package-specific `InvalidArgumentException` instead of the non-existent
  package `Exception` class when an invalid visibility is provided.

release-3.3.0

Toggle release-3.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
## 3.3.0 - 2017-10-20

### Added

- [#131](#131) added the
  ability to omit a parameter type declaration
- [#132](#132) added a
  lightweight `MethodGenerator::copyMethodSignature()` constructor that
  only copies the method declaration with no body nor docblock.
- [#134](#134) short array
  notation is now used by default for generated array values
- [#136](#136) added the
  ability to specify an `omitdefaultvalue` key when using
  `ParameterGenerator::fromArray()`

### Deprecated

- Nothing.

### Removed

- Nothing.

### Fixed

- [#130](#130) Updated 
  links to the documentation
- [#133](#133) The default
  value of a `ParameterGenerator` is always a `ValueGenerator`

release-3.2.0

Toggle release-3.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
## 3.2.0 - 2017-07-23

### Added

- [#112](#112)
  [#110](#110) Introduced
  support for the PHP `7.2` `object` type-hint
- [#41](#41) Added `VarTag`
  support to the docblock generators and reflectors: allows generating
  and parsing `@var` tags.
- [#113](#113) Added
  PHP `7.2` to the build matrix
- [#114](#114) Increased
  minimum supported PHP version to `^7.1.0`
- [#114](#114) Upgraded
  PHPUnit dependency to `^6.2.2`
- [#121](#121) Imported
  global functions via `use` statements (experimenting with OpCache
  OPCODE inlining optimisations)

### Deprecated

- Nothing.

### Removed

- [#113](#113)
  [#118](#118) Removed
  HHVM support
- [#122](#122) Removed
  IRC notifications for pushes/build statuses

### Fixed

- [#101](#101) avoid
  calling `isInternalPhpType` twice in the `TypeGenerator`
- [#115](#115) Replaced
  assertions in the test suite with their static counterparts where
  applicable
- [#120](#120)
  [#109](#109)
  [#100](#100) Applied
  ZendFramework coding standard to the library code
- [#119](#119) Corrected
  test suite errors caused by mismatching parameter order
- [#106](#106)
- [#107](#107) Minor
  typing error corrections in documentation and error messages

Total issues resolved: **16**

- [41: Add @var tag support in dockblocks](#41) thanks to @red-led
- [100: New coding standard](#100) thanks to @Koopzington
- [101: Don't call isInternalPhpType() twice in TypeGenerator](#101) thanks to @danez
- [106: Minor spelling fixes](#106) thanks to @ka7
- [107: Fixed typo](#107) thanks to @dverkade
- [109: Feature - extended CS sniffs](#109) thanks to @webimpress
- [110: Add support for PHP 7.2's `object` type hint](#110) thanks to @Ocramius
- [112: Introduce PHP7.2 `object` type hint](#112) thanks to @shulard
- [113: Drop hhvm build, added PHP 7.2 (nightly) build](#113) thanks to @webimpress
- [114: Bumped PHP to 7.1 and updated PHPUnit to ^6.2.2](#114) thanks to @webimpress
- [115: Changed all assertions to self::assert instead of $this->...](#115) thanks to @webimpress
- [118: Fixed travis configuration - removed hhvm in condition](#118) thanks to @webimpress
- [119: Fixes in tests - changed order of params](#119) thanks to @webimpress
- [120: Rebased #100 - New coding standard](#120) thanks to @webimpress
- [121: Import PHP internal functions](#121) thanks to @webimpress
- [122: Remove IRC notifications in travis configuration](#122) thanks to @webimpress

release-2.4.13

Toggle release-2.4.13's commit message
zend-code 2.4.13

release-2.4.12

Toggle release-2.4.12's commit message
zend-code 2.4.12

release-2.4.11

Toggle release-2.4.11's commit message
zend-code 2.4.11

release-3.1.0

Toggle release-3.1.0's commit message

Verified

This tag was signed with the committer’s verified signature.
Ocramius Marco Pivetta
 ### Added

- [#87](#95) support for
  PHP 7.1's `void` return type declaration.
- [#87](#95) support for
  PHP 7.1's nullable type declarations.
- [#87](#95) support for
  PHP 7.1's `iterable` type declaration.
- [#62](#62) added
  `Zend\Code\Generator\MethodGenerator#getReturnType()` accessor.
- [#68](#68)
  [#26](#26) added mutators
  to allow removing/checking for existence of methods, properties, constants,
  parameters and type declarations across all the code generator API.
- [#65](#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](#26)
- [62: Add 'returntype' case to MethodGenerator::fromArray()](#62)
- [65: add composer.lock & update travis config](#65)
- [68: Make it possible to remove properties and constants form a class.](#68)
- [87: PHP 7.1 support](#87)