4.0.0-beta2
Pre-release
Pre-release
New features
- Now supports global constants defined using either the
const
orglobal
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%