Skip to content

Releases: phpDocumentor/Reflection

7.0.0

28 May 20:10
70254fa

Choose a tag to compare

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-docblock v6 and phpdocumentor/type-resolver v2 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

Full Changelog: 6.5.0...7.0.0

6.6.0

12 Apr 18:10
c8d3644

Choose a tag to compare

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

10 Apr 12:02
70ad4ae

Choose a tag to compare

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

Full Changelog: 6.4.4...6.5.0

6.4.4

25 Nov 21:22
5e5db15

Choose a tag to compare

Fix issue with self referenced constants.

Full Changelog: 6.4.3...6.4.4

6.4.3

25 Nov 21:05
046ade6

Choose a tag to compare

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

23 Nov 13:25
6c1f4cc

Choose a tag to compare

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

12 Nov 21:51
c3bc920

Choose a tag to compare

What's Changed

Thanks to @bshaffer for reporting #697

  • Fix allow zero as expression value. by @jaapio in #698

Full Changelog: 6.4.0...6.4.1

6.4.0

12 Nov 20:45
5a64f2b

Choose a tag to compare

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

06 Jun 13:50
d91b327

Choose a tag to compare

What's Changed

This version adds support to detect virtual properties.

  • Find references to property if virtual by @jaapio in #672

Full Changelog: 6.2.1...6.3.0

6.2.1

30 May 18:46
ab969af

Choose a tag to compare

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