diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 17:19:36 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2020-12-29 17:23:58 +0300 |
commit | 8eb7310025dc24ddd379b36e0e94bab536f2216b (patch) | |
tree | d5ec402a46de2aad03df107b8d0c543d39b4bfb1 /.github | |
parent | 7adfc6ece487ff374a71cb7aae2fcbd603ff51a3 (diff) |
Add PHP-CS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/lint.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 65131b26a..4ccf97773 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -34,3 +34,20 @@ jobs: run: npm run lint env: CI: true + + php-cs-fixer: + name: php-cs check + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@master + - name: Set up php + uses: shivammathur/setup-php@master + with: + php-version: 7.4 + tools: composer:v1 + coverage: none + - name: Install dependencies + run: composer i + - name: Run coding standards check + run: composer run cs:check |