Releases: phpDocumentor/Reflection
7.0.0
What's Changed
This version contains breaking changes in regard to returned types where phpDocumentor\Reflection\Type is returned. You can consult Type resolver upgrade docs for more details about what has been changed in types.
In v6 Expressions as strings were deprecated. We removed the support for string expressions like described in the deprecation in v6. By now only expression objects are returned.
Full change overview
- Use
phpdocumentor/reflection-docblockv6 andphpdocumentor/type-resolverv2 by @mspirkov in #723 - Fix syntax error in test PropertyHook by @AJenbo in #712
- Allow webmozart assert v2 by @jaapio in #729
- Remove redundant symfony/polyfill-php80 dependency by @brendt in #735
- Include file path and line number in parse error messages by @lacatoire in #740
- Remove old code by @jaapio in #745
- Fix default value name resolving by @jaapio in #738
New Contributors
- @mspirkov made their first contribution in #723
- @AJenbo made their first contribution in #712
- @brendt made their first contribution in #735
Full Changelog: 6.5.0...7.0.0
6.6.0
What's Changed
- Add support for PHP 8.4 interface properties by @lacatoire in #739
- Include file path and line number in parse error messages by @lacatoire in #740
Full Changelog: 6.5.0...6.6.0
6.5.0
What's Changed
- Files did not get any context when processed by @jaapio in #717
- Add support for PHP 8.3 typed class constants by @lacatoire in #736
New Contributors
- @lacatoire made their first contribution in #736
Full Changelog: 6.4.4...6.5.0
6.4.4
Fix issue with self referenced constants.
Full Changelog: 6.4.3...6.4.4
6.4.3
What's Changed
- Fix class resolve in expression containing a constant fetch.
- Bump phpdocumentor/type-resolver from 1.11.1 to 1.12.0 by @dependabot[bot] in #706
Full Changelog: 6.4.2...6.4.3
6.4.2
What's Changed
Resolve issue with expressions where some default values were resolved incorrectly as FQSEN, now null will result in a Null_ type and booleans will result in True_ or False_. other values remain unchanged.
- Use type resolver to resolve types in expressions by @jaapio in #703
- Add support for php 8.5 by @jaapio in #695
Full Changelog: 6.4.1...6.4.2
6.4.1
6.4.0
What's Changed
This version adds support for more complex expressions in method arguments. The expressions allow users of this library to extract type information from default values of arguments.
Full Changelog: 6.3.0...6.4.0
6.3.0
6.2.1
What's Changed
Version 6.2.0 contained a wrong named class for Asymmetric visibility. This version renames the class, which should be considered a backward compatibility break. But because the release is rather new I do accept this for a patch release.
Full Changelog: 6.2.0...6.2.1