Skip to content

Make tests compatible with newer phpunit versions #4773

Make tests compatible with newer phpunit versions

Make tests compatible with newer phpunit versions #4773

Workflow file for this run

name: PHPCS check
permissions:
actions: read
checks: read
contents: read
deployments: none
issues: read
packages: none
pull-requests: read
repository-projects: none
security-events: none
statuses: none
on:
pull_request:
push:
branches: [ master ]
jobs:
phpcs:
name: PHPCS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '7.2'
tools: cs2pr
- name: Install dependencies
run: composer install --dev --prefer-dist --no-progress --no-suggest
- name: Run phpcs
run: ./vendor/bin/phpcs -q --report=checkstyle | cs2pr