ReflectionDocBlock icon indicating copy to clipboard operation
ReflectionDocBlock copied to clipboard

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

Open mvriel opened this issue 3 years ago • 0 comments

In issue https://github.com/phpDocumentor/phpDocumentor/issues/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

mvriel avatar Dec 04 '22 07:12 mvriel