Skip to content

Adds PHPUnit 10.5 support #2

Adds PHPUnit 10.5 support

Adds PHPUnit 10.5 support #2

name: "Check Coding Standards"
on:
pull_request:
push:
jobs:
coding-standards:
name: "Check Coding Standards"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "7.4"
tools: composer:v2, cs2pr
- name: Install dependencies
run: composer require phpcsstandards/php_codesniffer --no-interaction --no-progress --no-suggest
- name: "Run phpcs"
run: vendor/bin/phpcs -q --standard=PSR2 classes/ tests/ --report=checkstyle | cs2pr