All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Resolve templates in type arguments of inherited parents and interfaces.
- Add
ConstantReflectionandTyphoonReflector::reflectConstant().
- Add
AttributeReflection::evaluate()to emphasize the risk of runtime errors. - Add
AttributeReflection::evaluateArguments()to emphasize the risk of runtime errors. - Add
ClassConstantReflection::evaluate()to emphasize the risk of runtime errors. - Add
ParameterReflection::evaluateDefault()to emphasize the risk of runtime errors. - Add
PropertyReflection::evaluateDefault()to emphasize the risk of runtime errors.
- Deprecate calling
AttributeReflection::newInstance()in favor ofevaluate(). - Deprecate calling
AttributeReflection::arguments()in favor ofevaluateArguments(). - Deprecate calling
ClassConstantReflection::value()in favor ofevaluate(). - Deprecate calling
ParameterReflection::defaultValue()in favor ofevaluateDefault(). - Deprecate calling
PropertyReflection::defaultValue()in favor ofevaluateDefault().
- Reflect trait @use PHPDoc in classes without a class-level PHPDoc.