diff --git a/README.md b/README.md index 35068fc..250e79b 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,7 @@ It has been extracted as a separate project to make maintenance easier and enabl | rector | [Tool for instant code upgrades and refactoring](https://github.com/rectorphp/rector) | ✅ | ✅ | ✅ | | roave-backward-compatibility-check | [Tool to compare two revisions of a class API to check for BC breaks](https://github.com/Roave/BackwardCompatibilityCheck) | ✅ | ✅ | ✅ | | simple-phpunit | [Provides utilities to report legacy tests and usage of deprecated code](https://symfony.com/doc/current/components/phpunit_bridge.html) | ✅ | ✅ | ✅ | +| twig-cs-fixer | [Automatically corrects twig files following the official coding standard rules](https://github.com/VincentLanglet/Twig-CS-Fixer) | ✅ | ✅ | ✅ | | twig-lint | [Standalone cli twig 1.X linter](https://github.com/asm89/twig-lint) | ✅ | ✅ | ✅ | | twig-linter | [Standalone cli twig 3.X linter](https://github.com/sserbin/twig-linter) | ✅ | ✅ | ✅ | | twigcs | [The missing checkstyle for twig!](https://github.com/friendsoftwig/twigcs) | ✅ | ✅ | ✅ | diff --git a/resources/checkstyle.json b/resources/checkstyle.json index 216f01d..4dcc4a8 100644 --- a/resources/checkstyle.json +++ b/resources/checkstyle.json @@ -69,6 +69,20 @@ }, "test": "twigcs --help", "tags": ["checkstyle"] + }, + { + "name": "twig-cs-fixer", + "summary": "Automatically corrects twig files following the official coding standard rules", + "website": "https://github.com/VincentLanglet/Twig-CS-Fixer", + "command": { + "composer-bin-plugin": { + "package": "vincentlanglet/twig-cs-fixer", + "namespace": "twig-cs-fixer", + "links": {"%target-dir%/twig-cs-fixer": "twig-cs-fixer"} + } + }, + "test": "twig-cs-fixer --help", + "tags": ["checkstyle"] } ] }