Skip to content

Add more information when an InvalidTag occurs and a link to the phpDocumentor documentation #346

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
mvriel opened this issue Dec 4, 2022 · 0 comments

Comments

@mvriel
Copy link
Member

mvriel commented Dec 4, 2022

In issue phpDocumentor/phpDocumentor#3378, there was some confusion because the Author tag does not support a description. When the StandardTagFactory encounters a situation where an InvalidTag is generated, it would be nice if it could ask the Tag class what the expected format is and a link to the documentation; and include that in the InvalidTag so that phpDocumentor can provide better error messages in the error report

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant