Releases: phpDocumentor/Reflection
4.0.0-beta2
New features
- Now supports global constants defined using either the
constorglobalkeyword - 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
First beta release of this series. With a massive performance fix. Which reduces the parsing time with 50%.
4.0.0-alpha6
Removed:
- addType from
argumentclass, an argument can only have a single type. This way it is more aligned with the reflected code.
4.0.0-alpha5
Fixes an performance issue when reflected code contains large methods.
4.0.0-alpha4
Fixes an issue when file strategy returns a null value
4.0.0-alpha3
- Added argument type resolving
- Updated to php-parser v4
4.0.0-alpha2
bump reflection dependencies to newest alphas
4.0.0-alpha1
- bump to PHP 7.1 minimum
- add strict typing
Hotfix release
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
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.