mirror of
https://github.com/opdavies/build-configs.git
synced 2025-03-22 20:58:22 +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 %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% 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">
|
<rule ref="Drupal">
|
||||||
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
|
<exclude name="Drupal.Commenting.ClassComment.Missing"/>
|
||||||
<exclude name="Drupal.Commenting.DataTypeNamespace.DataTypeNamespace"/>
|
<exclude name="Drupal.Commenting.DataTypeNamespace.DataTypeNamespace"/>
|
||||||
|
|
Loading…
Reference in a new issue