sulu / skeleton

Project template for starting your new project based on the Sulu content management system
https://sulu.io
MIT License
261 stars 81 forks source link

Add Twig CS Fixer for lint and fix tasks #254

Closed alexander-schranz closed 1 month ago

alexander-schranz commented 2 months ago
Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #issuenum
Related issues/PRs #issuenum
License MIT
Documentation PR sulu/sulu-docs#prnum

What's in this PR?

Add Twig CS Fixer.

composer fix

composer lint-twig-cs
composer twig-cs-fix

Why?

After some discussion with @Prokyonn we think it does make sense to add twig cs fixer.

I think the Twig CS Fixer it is a great tool by @VincentLanglet and adding it to our skeleton make other developers aware of that tool. If they don't want to use it they easily can remove it.