@weierophinney weierophinney released this Aug 13, 2018 · 2 commits to master since this release

Assets 2

Added

  • Nothing.

Changed

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #158 updates several switch cases to use break instead of continue
    in order to prevent issues under the upcoming PHP 7.3 release.

  • #147 fixes the regular expression used for @var annotations to
    allow omission of the variable name.

  • #146 updates all @return annotations to reflect the correct types returned by each method.

  • #144 fixes the class generator such that it now resolves
    setExtendedClass() arguments to aliases provided to the generator.

  • #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 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.

@Ocramius Ocramius released this Oct 20, 2017 · 44 commits to master since this release

Assets 2

3.3.0 - 2017-10-20

Added

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

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #130 Updated
    links to the documentation
  • #133 The default
    value of a ParameterGenerator is always a ValueGenerator

Total issues resolved: 6

@Ocramius Ocramius released this Jul 23, 2017 · 69 commits to master since this release

Assets 2

3.2.0 - 2017-07-23

Added

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

Deprecated

  • Nothing.

Removed

  • #113
    #118 Removed
    HHVM support
  • #122 Removed
    IRC notifications for pushes/build statuses

Fixed

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

Total issues resolved: 16

Jul 13, 2017
zend-code 2.4.13
Jun 19, 2017
zend-code 2.4.12
Dec 19, 2016
zend-code 2.4.11

@Ocramius Ocramius released this Oct 24, 2016 · 128 commits to master since this release

Assets 2

Added

  • #87 support for
    PHP 7.1's void return type declaration.
  • #87 support for
    PHP 7.1's nullable type declarations.
  • #87 support for
    PHP 7.1's iterable type declaration.
  • #62 added
    Zend\Code\Generator\MethodGenerator#getReturnType() accessor.
  • #68
    #26 added mutators
    to allow removing/checking for existence of methods, properties, constants,
    parameters and type declarations across all the code generator API.
  • #65 continuous
    integration testing now checks locked, newest and oldest dependency
    sets.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • Nothing.

Total issues resolved: 5

@Ocramius Ocramius released this Oct 24, 2016 · 270 commits to master since this release

Assets 2

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #92 corrected
    Zend\Code\Scanner\ClassScanner to detect multiple interface inheritance.
  • #95 corrected
    Zend\Code\Generator\ParameterGenerator to allow copying parameter signatures
    for non-optional parameters that are still nullable via a default = null
    value.
  • #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

@weierophinney weierophinney released this Jun 30, 2016 · 291 commits to master since this release

Assets 2

Added

  • Nothing.

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #59 fixes an issue with detection of multiple trait use statements.
  • #75 provides a patch to ensure that extends statements qualify the parent class based on the current namespace and/or import statements.

@weierophinney weierophinney released this Jun 27, 2016 · 305 commits to master since this release

Assets 2

Added

Deprecated

  • Nothing.

Removed

  • Nothing.

Fixed

  • #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.
  • #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.
  • #72 fixes an issue within the TokenArrayScanner when scanning closures.