1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-01 17:38:38 +00:00

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: jobs:
coding-standards: coding-standards:
name: "CS Fixer & PHPStan" name: "CS Fixer, PHPStan & TwigCS"
runs-on: "ubuntu-20.04" runs-on: "ubuntu-20.04"
steps: steps:
@ -46,3 +46,6 @@ jobs:
- name: "Run PHPStan" - name: "Run PHPStan"
run: "php bin/phpstan analyse --no-progress --error-format=checkstyle | cs2pr" 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"