From 088c568551f8272bcc218e3c43a74c5290db9936 Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 25 May 2020 10:40:49 -0400 Subject: [PATCH 1/3] Add twigcs --- resources/tools.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/resources/tools.json b/resources/tools.json index 33cd340b..d368167e 100644 --- a/resources/tools.json +++ b/resources/tools.json @@ -786,6 +786,19 @@ }, "test": "twig-lint --version" }, + { + "name": "twigcs", + "summary": "The missing checkstyle for twig!", + "website": "https://github.com/friendsoftwig/twigcs", + "command": { + "composer-bin-plugin": { + "package": "friendsoftwig/twigcs", + "namespace": "twigcs", + "links": {"%target-dir%/twigcs": "twigcs"} + } + }, + "test": "twigcs --help" + }, { "name": "larastan", "summary": "PHPStan extension for Laravel", From 8f2ae1d77795060a6e965a9a52cd57b5004a3550 Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 25 May 2020 10:43:22 -0400 Subject: [PATCH 2/3] Update README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index bff83af1..6921fb4c 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,7 @@ It has been extracted as a separate project to make maintenance easier and enabl * security-checker - [Checks composer dependencies for known security vulnerabilities](https://github.com/sensiolabs/security-checker) * simple-phpunit - [Provides utilities to report legacy tests and usage of deprecated code](https://symfony.com/doc/current/components/phpunit_bridge.html) * twig-lint - [Standalone twig linter](https://github.com/asm89/twig-lint) +* twigcs - [The missing checkstyle for twig](https://github.com/friendsoftwig/twigcs) * larastan - [PHPStan extension for Laravel](https://github.com/nunomaduro/larastan) * yaml-lint - [Compact command line utility for checking YAML file syntax](https://github.com/j13k/yaml-lint) From 8478cbdb5b153e176039edc352f971d927c05787 Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 25 May 2020 13:57:25 -0400 Subject: [PATCH 3/3] Switch to phar-download --- resources/tools.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/resources/tools.json b/resources/tools.json index d368167e..a5fd9a9a 100644 --- a/resources/tools.json +++ b/resources/tools.json @@ -791,10 +791,9 @@ "summary": "The missing checkstyle for twig!", "website": "https://github.com/friendsoftwig/twigcs", "command": { - "composer-bin-plugin": { - "package": "friendsoftwig/twigcs", - "namespace": "twigcs", - "links": {"%target-dir%/twigcs": "twigcs"} + "phar-download": { + "phar": "https://github.com/friendsoftwig/twigcs/releases/download/v3.2.2/twigcs.phar", + "bin": "%target-dir%/twigcs" } }, "test": "twigcs --help"