Active
Project:
Coder
Version:
8.3.12
Component:
Coder Sniffer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2021 at 10:55 UTC
Updated:
22 Feb 2025 at 03:17 UTC
Jump to comment: Most recent
In #2572635: Fix 'Drupal.Commenting.DocComment.LongFullStop' coding standard we are trying to implement "Drupal.Commenting.DocComment.LongFullStop", only a number of suggested changes are wrong.
1) Expects 'Calling' to have a full stop.
* This is the main entry point to the configuration API. Calling
* @code \Drupal::config('my_module.admin') @endcode will return a
2) Passes if only the last item in a list has a full stop.
* - CSS_BASE
* - CSS_LAYOUT
* - CSS_COMPONENT
* - CSS_STATE
* - CSS_THEME.Fix "Drupal.Commenting.DocComment.LongFullStop", so that the wrong suggestion are fixed.
Comments
Comment #2
quietone commentedAdded examples.
Comment #3
quietone commentedThe first case here isn't how @code/@endcode is supposed to be used. The Drupal standard states
So, I think that should be re-written.