Skip to content

Update dependency phpunit/phpunit to v11 #2146

Update dependency phpunit/phpunit to v11

Update dependency phpunit/phpunit to v11 #2146

name: CS
on: [ push, pull_request ]
jobs:
coding-standards:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/[email protected]
with:
php-version: 8.3
coverage: pcov
tools: cs2pr
- name: Cache composer dependencies
uses: actions/cache@v4
with:
path: ~/.cache/composer
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-interaction
- name: Code style with phpcs
run: make cs