From c06745f8a98d30760ea68fb5016533889ef132e8 Mon Sep 17 00:00:00 2001 From: Moshe Weitzman Date: Thu, 1 Aug 2024 15:46:03 -0400 Subject: [PATCH] Adapt to changed location of phpcs.xml.dist See https://www.drupal.org/project/gitlab_templates/issues/3427357 --- commands/web/phpcbf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/web/phpcbf b/commands/web/phpcbf index 916c31d..9c1013c 100644 --- a/commands/web/phpcbf +++ b/commands/web/phpcbf @@ -11,5 +11,5 @@ if ! command -v phpcbf >/dev/null; then echo "phpcbf is not available. You may need to 'ddev composer install'" exit 1 fi -test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/scripts/phpcs.xml.dist +test -e phpcs.xml.dist || curl -OL https://git.drupalcode.org/project/gitlab_templates/-/raw/default-ref/assets/phpcs.xml.dist phpcbf -s --report-full --report-summary --report-source web/modules/custom "$@"