From a37e9604d6c7c0f3afc4bc47123bc4bed5b214ca Mon Sep 17 00:00:00 2001 From: Alex Skrypnyk Date: Fri, 16 Aug 2024 08:14:19 +1000 Subject: [PATCH] Updated Twig CS Fixer to version 3. --- .ahoy.yml | 3 ++- composer.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.ahoy.yml b/.ahoy.yml index 6f185dbb9..516e0885c 100644 --- a/.ahoy.yml +++ b/.ahoy.yml @@ -190,7 +190,7 @@ commands: lint-fe: usage: Lint front-end code. cmd: | - ahoy cli vendor/bin/twig-cs-fixer + ahoy cli vendor/bin/twig-cs-fixer lint ahoy cli "npm run --prefix \${DREVOPS_WEBROOT}/themes/custom/\${DRUPAL_THEME} lint" lint-fix: @@ -198,6 +198,7 @@ commands: cmd: | ahoy cli vendor/bin/rector --clear-cache ahoy cli vendor/bin/phpcbf + ahoy cli vendor/bin/twig-cs-fixer lint --fix test: usage: Run all tests. diff --git a/composer.json b/composer.json index fda96431c..7e8e98a6b 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "phpspec/prophecy-phpunit": "^2.2", "phpstan/extension-installer": "^1.3", "pyrech/composer-changelogs": "^1.8", - "vincentlanglet/twig-cs-fixer": "^2.8" + "vincentlanglet/twig-cs-fixer": "^3" }, "conflict": { "drupal/drupal": "*"