Exclude Sniffs that prevent blank lines after comments.
This is being discussed upstream in https://www.drupal.org/project/coder/issues/2159253 and https://www.drupal.org/project/coding_standards/issues/2464123. We can remove these exclusions if/when they are removed upstream.
This commit is contained in:
parent
2066e7202b
commit
3eb0a6e892
|
@ -45,8 +45,13 @@ RUN { \
|
|||
echo ' <rule ref="Drupal">'; \
|
||||
echo ' <exclude name="Drupal.InfoFiles.AutoAddedKeys.Version"/>'; \
|
||||
echo ' <exclude name="Drupal.Arrays.Array.LongLineDeclaration"/>'; \
|
||||
# @todo https://www.drupal.org/project/coder/issues/2159253
|
||||
echo ' <exclude name="Drupal.Commenting.InlineComment.SpacingAfter"/>'; \
|
||||
echo ' </rule>'; \
|
||||
echo ' <rule ref="DrupalPractice">'; \
|
||||
# @todo https://www.drupal.org/project/coder/issues/2159253
|
||||
echo ' <exclude name="DrupalPractice.Commenting.CommentEmptyLine.SpacingAfter"/>'; \
|
||||
echo ' </rule>'; \
|
||||
echo ' <rule ref="DrupalPractice"/>'; \
|
||||
echo ' <rule ref="Internal.Tokenizer.Exception"><severity>0</severity></rule>'; \
|
||||
echo '</ruleset>'; \
|
||||
} > /var/farmOS/phpcs.xml \
|
||||
|
|
Loading…
Reference in New Issue