Skip to content

Add PHP 8.2

Add PHP 8.2 #51

name: Coding Standards
on: [push]
jobs:
coding-standards:
name: Coding Standards
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- 8.1
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
coverage: none
php-version: ${{ matrix.php-version }}
tools: cs2pr
- name: Install dependencies with Composer
uses: ramsey/composer-install@v2
# https://github.com/doctrine/.github/issues/3
- name: Run PHP_CodeSniffer
run: vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr