fix(phpcs): duplicate Drupal rule

This commit is contained in:
Oliver Davies 2023-04-23 20:14:04 +01:00
parent c6fe47aff2
commit a947001772

View file

@ -11,7 +11,9 @@
<arg value="np"/> <arg value="np"/>
{% for standard in php.phpcs.standards|default(['Drupal', 'DrupalPractice']) %} {% for standard in php.phpcs.standards|default(['Drupal', 'DrupalPractice']) %}
{% if not standard is same as "Drupal" %}
<rule ref="{{ standard }}"/> <rule ref="{{ standard }}"/>
{% 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 %}