Comments

quietone created an issue. See original summary.

quietone’s picture

Issue summary: View changes

Decided to split the work up by test files and non test files. Then in each group do the class comments and the methods in separate issues. There is a child for properties, one where only new lines are added and one for test modules and files (.inc, .module etc).

Hopefully this will make it easier to get through this piece of work.

xjm’s picture

Issue summary: View changes

 

xjm’s picture

Issue summary: View changes

 

quietone’s picture

Title: [meta] Fix 'Drupal.Commenting.DocComment.ShortSingleLine' » [meta] Fix Drupal.Commenting.DocComment.ShortSingleLine
Issue summary: View changes

Add another child.

longwave’s picture

Once we have fixed all tests we can add this to phpcs.xml.dist:

  <rule ref="Drupal.Commenting.DocComment.ShortSingleLine">
    <include-pattern>*Test.php</include-pattern>
  </rule>

I don't think it's possible for PHPCS to tell the difference between class and method docblocks.

quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes

1 more committed

spokje’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
quietone’s picture

Issue summary: View changes
longwave’s picture

Status: Active » Fixed

#3123060: Enable 'Drupal.Commenting.DocComment.ShortSingleLine' coding standard is committed and so this work is complete - thanks everyone!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.