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.
The automated fixer for Drupal.Commenting.DocComment.TagGroupSpacing.
doesn't work as it should, see also #2937513: Fix 'Drupal.Commenting.DocComment.TagGroupSpacing' coding standard
Comments
Comment #2
klausiThis has been fixed with #3073750: @see references are special and should be allowed to be indented and other issues. I need to make a Coder release and then we can update Coder in core and continue with the core issue.
Updating Coder in core is #3063323: Update drupal/coder to 8.3.6.
Comment #3
idebr CreditAttribution: idebr at ezCompany commentedThe sniff still produces a few false positives:
core/lib/Drupal/Core/Asset/CssOptimizer.php
Before:
After:
core/lib/Drupal/Core/Asset/LibraryDiscoveryParser.php
Before:
After:
core/lib/Drupal/Core/Mail/MailManagerInterface.php
Before:
After:
Comment #5
klausiThanks a lot for reporting the broken examples!
I pushed a fix that should deal with those examples.
The next step is to test the Coder dev version on core again and see if this resolves all problems now. If that is the case then we can release the next version of Coder or fix anything remaining before that.