Skip to content

4.0.0-beta2

Pre-release
Pre-release
Compare
Choose a tag to compare
@mvriel mvriel released this 11 Jan 06:52
fca9ce5

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%