Skip to content

Commit

Permalink
Updated Twig CS Fixer to version 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Aug 15, 2024
1 parent 6f443f5 commit a37e960
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .ahoy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,15 @@ 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:
usage: Fix lint issues of back-end and front-end code.
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.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
Expand Down

1 comment on commit a37e960

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.