mirror of
https://github.com/opdavies/build-configs.git
synced 2025-02-09 00:25:01 +00:00
fix(phpcs): duplicate Drupal rule
This commit is contained in:
parent
c6fe47aff2
commit
a947001772
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in a new issue