Skip to content

Conversation

rosier
Copy link
Contributor

@rosier rosier commented Oct 12, 2025

Thanks to the Twig CS Fixer

I ran the following command

twig-cs-fixer lint --fix templates

I used the default settings (no configuration file).

Copy link
Contributor

@94noni 94noni left a comment

Choose a reason for hiding this comment

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

👏🏻

@seb-jean
Copy link
Contributor

I was wondering if we should add a .twig-cs-fixer.dist.php file and add the necessary configuration in .github/workflows/lint.yaml

@rosier
Copy link
Contributor Author

rosier commented Oct 15, 2025

I was wondering if we should add a .twig-cs-fixer.dist.php file and add the necessary configuration in .github/workflows/lint.yaml

That is option. I first wanted to see if there is a interest in these kind of changes.

@javiereguiluz
Copy link
Member

I like this a lot 😍 I'm going to add this to my own Symfony projects too. Thanks a lot Jan 🙇

@javiereguiluz javiereguiluz merged commit c359770 into symfony:main Oct 15, 2025
8 checks passed
@rosier rosier deleted the twig-cs-fixer branch October 15, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants