Skip to content

Conversation

@tkegan
Copy link
Contributor

@tkegan tkegan commented Aug 25, 2022

My company has a policy of hard wrapping lines including doc comments. This leads to broken listing class methods when generating documentation with phpdoc-md. This PR if accepted filters hard line wraps from method summaries in Clean\PhpDocMd\Markdown\ClassInfo which feels to me as if it is the correct place given existing separation of responsibilities. This change is sufficient for the code bases I work with though I could foresee it being insufficient for others. Included is also a change to the example BasicClass showing the issue is resolved.

@sanmai sanmai merged commit fd18c3e into clean:master Aug 25, 2022
@tkegan tkegan deleted the fix/filter-hard-line-wrapping branch October 6, 2022 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants