From 4742b890dadeb733fc4bfdb6ff756cb35773f36a Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Fri, 29 Apr 2022 01:12:58 +0200 Subject: [PATCH] Add TwigCS to the CI --- .github/workflows/coding-standards.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 1f5e652e5..6540f9a44 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -12,7 +12,7 @@ permissions: jobs: coding-standards: - name: "CS Fixer & PHPStan" + name: "CS Fixer, PHPStan & TwigCS" runs-on: "ubuntu-20.04" steps: @@ -46,3 +46,6 @@ jobs: - name: "Run PHPStan" run: "php bin/phpstan analyse --no-progress --error-format=checkstyle | cs2pr" + + - name: "Run TwigCS" + run: "php bin/twigcs --severity=error --display=blocking --reporter checkstyle src/ | cs2pr"