Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It's allowed to have multiple code samples, todos or links in a document comment. Currently a false positive Drupal.Commenting.DocComment.TagsNotGrouped
is thrown when multiple items are encountered.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2502837-1.patch | 1.56 KB | pfrenssen |
Comments
Comment #1
pfrenssenHere's a test case that exposes the bug. What's also interesting is that this also hints at a second bug in the doc comment sniffer: it suggests to insert a blank line between the code snippet and the first @todo, but this blank line is already present.
Test case:
Test result:
Comment #2
tatarbjComment #3
Liam Morland