diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/phpcs.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/phpcs.yml b/.github/workflows/phpcs.yml new file mode 100644 index 0000000000..169942b071 --- /dev/null +++ b/.github/workflows/phpcs.yml @@ -0,0 +1,17 @@ +name: PHPCS check + +on: pull_request + +jobs: + phpcs: + name: PHPCS + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: composer install --dev --prefer-dist --no-progress --no-suggest + - name: PHPCS check + uses: chekalsky/phpcs-action@v1 + with: + phpcs_bin_path: './vendor/bin/phpcs' + enable_warnings: true
\ No newline at end of file |