Add TwigCS to the CI

This commit is contained in:
Yassine Guedidi 2022-04-29 01:12:58 +02:00
parent 6e61ee4f56
commit 4742b890da

View file

@ -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"