Skip to content

Releases: phpDocumentor/Reflection

4.0.1

19 Jun 18:31
447928a
Compare
Choose a tag to compare

Fixes

Fix namespace handling for defines and namespaced constants #157, thanks to @dirx

4.0.0

09 Feb 09:48
509e84c
Compare
Choose a tag to compare

Version 4 is a full redesign of this library. There haven't been any changes since the latest beta release.

4.0.0-beta4

07 Feb 16:03
eec8173
Compare
Choose a tag to compare
4.0.0-beta4 Pre-release
Pre-release

Improvents

  • Ignore certain start nodes in a file which allows a declare before a file docblock and processing of files containing a shebang.
  • Top level if statements are now processed so conditional defined elements can be documented.

Fixes

  • Fixed FQSEN generation for defines in global namespace

4.0.0-beta3: Remove custom PrettyPrinter

27 Jan 09:44
ad8b5b1
Compare
Choose a tag to compare

Improvements

  • Strings in default values or constant values are no longer stripped of their quotes and match the pretty-printing rules of PHP Parser. This will allow consumers to more accurately represent values
  • Parsing a DocBlock with an invalid tag will no longer result in an exception but instead, generate an object of type InvalidTag containing the exception causing the reason why this could not be properly parsed.

4.0.0-beta2

11 Jan 06:52
fca9ce5
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare
4.0.0-alpha3 Pre-release
Pre-release
  • Added argument type resolving
  • Updated to php-parser v4