Skip to content

Commit

Permalink
Merge pull request #498 from babaorum/add-twig-cs-fixer
Browse files Browse the repository at this point in the history
add twig-cs-fixer tool
  • Loading branch information
jakzal authored Apr 22, 2024
2 parents 981e4e5 + a12b98e commit 49045a8
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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) | ✅ | ✅ | ✅ |
Expand Down
14 changes: 14 additions & 0 deletions resources/checkstyle.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
]
}

0 comments on commit 49045a8

Please sign in to comment.