Skip to content

Update dependency squizlabs/php_codesniffer to v3.10.2 #31

Update dependency squizlabs/php_codesniffer to v3.10.2

Update dependency squizlabs/php_codesniffer to v3.10.2 #31

Workflow file for this run

name: PHPCS
on:
push:
workflow_dispatch:
jobs:
run:
name: phpcs
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['8.0', '8.1', '8.2']
steps:
- uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: pdo, pdo_mysql, zip, mysqli, gd
- name: Install dependencies
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run phpcs
run: composer run phpcs -- --runtime-set testVersion ${{ matrix.php-version }}