From 4af661bad4680e84326995c256865f19da055bac Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sun, 23 Apr 2023 20:47:08 +0100 Subject: [PATCH] fix(phpcs): Drupal standard missing if standards ...are empty --- templates/php/phpcs.xml.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/php/phpcs.xml.twig b/templates/php/phpcs.xml.twig index 656cab6..cd142de 100644 --- a/templates/php/phpcs.xml.twig +++ b/templates/php/phpcs.xml.twig @@ -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 %}