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.
Part of #2909370: Fix 'Drupal.Commenting.VariableComment.IncorrectVarType' coding standard
If multiple types are possible, separate them by a vertical bar ("|").
See https://www.drupal.org/docs/develop/coding-standards/api-documentation-a...
Comment | File | Size | Author |
---|---|---|---|
#2 | fix-2926121-2.patch | 669 bytes | zaporylie |
Comments
Comment #2
zaporylieComment #3
borisson_Tested this with ag (
ag "@var(.*)\sor\s(.*)"
), the remaining results are valid.Comment #6
Gábor HojtsyLooks good, thanks!