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.
In #2567055: Inline comment sniff is too permissive with ending punctuation the detection of comments that do not end with a period was tightened, but now a false positive is thrown when a comment ends with a function call without arguments.
Correctly detected:
// See my_function($my_arg)
False positive:
// See my_function()
The regex has a '+' where it should have a '*' :-/
Comment | File | Size | Author |
---|---|---|---|
#2 | 2568215-2.patch | 2.74 KB | pfrenssen |
Comments
Comment #2
pfrenssenComment #3
klausiCommitted, thanks!