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.
Problem/Motivation
It's hard to catch mistakes when people list things in comments.
* Available configuration keys:
* - callable: The name of the callable method.
Should be
* Available configuration keys:
* - callable: The name of the callable method.
Proposed resolution
Add a sniff to catch this.
Lists should comply with: https://www.drupal.org/node/1354#lists
Comments
Comment #2
alexpottSee #1331240: [Meta] Correct documentation for 'list' related issues
Comment #3
xjmHere is the documented standard:
https://www.drupal.org/node/1354#lists