Skip to content

Releases: phpDocumentor/Reflection

4.0.0-beta2

11 Jan 06:52
fca9ce5

Choose a tag to compare

4.0.0-beta2 Pre-release
Pre-release

New features

  • Now supports global constants defined using either the const or global keyword
  • Now supports Typed Properties (PHP 7.4 feature)
  • Now supports visibility for class constants (private, protected, public)

BC-break since 4.0.0-beta

  • factory \phpDocumentor\Reflection\Php\Factory\Constant was renamed to \phpDocumentor\Reflection\Php\Factory\ClassConstant; this only matters if you build your own ProjectFactory with non-default strategies set.
  • \phpDocumentor\Reflection\Middleware\Middleware its execute function is now typehinted and the result must be an object.

Bug fixes & improvements

  • Build pipeline is now in Github Actions
  • More automated tests have been added to increase coverage to 90%

4.0.0-beta

28 Mar 10:44

Choose a tag to compare

4.0.0-beta Pre-release
Pre-release

First beta release of this series. With a massive performance fix. Which reduces the parsing time with 50%.

4.0.0-alpha6

31 Dec 12:20
b488642

Choose a tag to compare

4.0.0-alpha6 Pre-release
Pre-release

Removed:

  • addType from argument class, an argument can only have a single type. This way it is more aligned with the reflected code.

4.0.0-alpha5

12 Oct 19:54

Choose a tag to compare

4.0.0-alpha5 Pre-release
Pre-release

Fixes an performance issue when reflected code contains large methods.

4.0.0-alpha4

12 Oct 18:24

Choose a tag to compare

4.0.0-alpha4 Pre-release
Pre-release

Fixes an issue when file strategy returns a null value

4.0.0-alpha3

09 Aug 19:33
71572c7

Choose a tag to compare

4.0.0-alpha3 Pre-release
Pre-release
  • Added argument type resolving
  • Updated to php-parser v4

4.0.0-alpha2

19 Jun 17:32

Choose a tag to compare

4.0.0-alpha2 Pre-release
Pre-release

bump reflection dependencies to newest alphas

4.0.0-alpha1

15 Jun 21:14
b7584ea

Choose a tag to compare

4.0.0-alpha1 Pre-release
Pre-release
  • bump to PHP 7.1 minimum
  • add strict typing

Hotfix release

21 May 08:47

Choose a tag to compare

With the upgrade to php-parser 1 we missed a class rename which prevented the correct handling of use statements. This release fixes that issue.

Thanks to @alexjay for reporting and solving this issue.

Release 3.0.0

16 May 20:35

Choose a tag to compare

This release was created to support php-7 syntax in phpdocumentor2.
No new functionality was added. Only the php-parser dependency was upgraded to support php-7 syntax.

Note:
Since we where already working on v2 of the reflection component we had to release v3 to follow the Semantic versioning. V2 will never be a released version of this component.