phpDocumentor / Reflection

Reflection library to do Static Analysis for PHP Projects
MIT License
117 stars 51 forks source link

Add support for php8 Attributes #185

Closed jaapio closed 6 months ago

jaapio commented 3 years ago

https://wiki.php.net/rfc/attributes_v2

At the moment it is unsure what attributes will add to this library. But we should be able to detect the docblocks correctly. Maybe add attributes as objects on their parent:

More?

jaapio commented 6 months ago

Attribute support has been added to v6. This means that this library is able to handle attributes in a basic way, as the attributes itself might not be available in the files we are processing. Projects consuming the library might want to combine the information from the attributes to reflect more details on what is happening, but that's not in scope of this project.