zend-code 3.3.1
Added
- Nothing.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
-
#158 updates several
switch
cases to usebreak
instead ofcontinue
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-specificInvalidArgumentException
instead of the non-existent
packageException
class when an invalid visibility is provided.