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

zend-code 3.3.1

Compare
Choose a tag to compare
@weierophinney weierophinney released this 13 Aug 20:38
· 106 commits to master since this release

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.