Problem/Motivation
Drupal Core is planning to #3284817: Adopt vincentlanglet/twig-cs-fixer for Twig coding standards
Let's do the same in our codebase.
Proposed resolution
In this issue PR, run vendor/bin/twig-cs-fixer lint --fix /path/to/code a first time.
Do we also need to add something somewhere (README, Makefile...)?
Issue fork ui_suite_bootstrap-3458957
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
silvi.addweb commentedComment #3
pdureau commentedHi Silvi,
Welcome to the UI Suite Bootstrap project
Don't take the issue only to run the command. This is something anybody can do and your MR may not be accepted. You are welcomed to join us to discuss about improving our stack (CI, documentation...)
Comment #4
grimreaperHi,
Postponing until core issue is resolved and the tool is integrated into Drupal Gitlab CI template (we can do an issue to push it forward once core will adopt it)
Comment #5
grimreaperComment #6
grimreaperComment #7
grimreaperTwig CS Fixer merged into Core.
Draft MR created against Gitlab CI templates: https://git.drupalcode.org/project/gitlab_templates/-/merge_requests/511
Comment #9
grimreaperComment #10
grimreaperMR in review and testing on gitlab_template side.
Back to postponed.