mirror of
https://github.com/opdavies/build-configs.git
synced 2025-09-05 19:05:33 +01:00
fix(phpcs): duplicate Drupal rule
This commit is contained in:
parent
c6fe47aff2
commit
a947001772
1 changed files with 31 additions and 29 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue