Releases: phpDocumentor/Reflection
Releases · phpDocumentor/Reflection
4.0.1
4.0.0
4.0.0-beta4
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
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
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%
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
argument
class, 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