mirror of
https://github.com/opdavies/build-configs.git
synced 2025-04-20 17:31:09 +01:00
fix(phpcs): Drupal standard missing if standards
...are empty
This commit is contained in:
parent
e715496e76
commit
4af661bad4
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if type is same as "drupal-project" and "Drupal" in php.phpcs.standards %}
|
||||
{% if type is same as "drupal-project" and "Drupal" in php.phpcs.standards or php.phpcs.standards is empty %}
|
||||
<rule ref="Drupal">
|
||||
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
|
||||
<exclude name="Drupal.Commenting.DataTypeNamespace.DataTypeNamespace"/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue