Bug: Error parsing multiline PHPDOC @params #317
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#317
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
The PHPDOC parser in Hazaar is currently unable to correctly parse multiline descriptions for
@param
elements in docblocks. This results in incomplete or incorrectly formatted parameter descriptions in the generated API documentation.Steps to Reproduce
@param
annotation in a docblock.Expected Behavior
@param
elements, preserving their intended formatting.Actual Behavior
@param
element.Benefits and Risks
Benefits
Risks
Proposed Solution
@param
elements.@param
descriptions.@return
,@throws
) are not affected by the changes.assigned to @jamie
created branch
317-bug-error-parsing-multiline-phpdoc-params
to address this issuementioned in merge request !197
mentioned in commit
0aab29e6f4
Turns out the issue was with the conversion to markdown. The descriptions were being output with multiple lines, which messed with the markdown output. I have made the decision to convert multi-line @param descriptions into a single line, as multiple lines should not be used in these.
Brief and detail text will not be affected.