mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-22 18:27:31 +00:00
fix(phpcs): Drupal standard missing if standards
...are empty
This commit is contained in:
parent
e715496e76
commit
4af661bad4
|
@ -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…
Reference in a new issue