Skip to content

Merge pull request #122 from salehhashemi1992/ci/setup-code-style-check #24

Merge pull request #122 from salehhashemi1992/ci/setup-code-style-check

Merge pull request #122 from salehhashemi1992/ci/setup-code-style-check #24

Workflow file for this run

name: Code style
on: [push, pull_request]
permissions:
contents: read
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.4'
- name: Install dependencies
run: composer update --prefer-dist --no-progress --no-suggest
- name: Run script
run: vendor/bin/phpcs -n