Skip to content

Enable strict coverage reporting #56

Enable strict coverage reporting

Enable strict coverage reporting #56

Workflow file for this run

name: PHPCS
on:
push:
pull_request:
jobs:
phpcs:
runs-on: ubuntu-latest
name: PHP_CodeSniffer
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: cs2pr
- name: Install Composer dependencies
run: composer install --no-interaction --no-progress --no-scripts
- name: Run PHP_CodeSniffer
run: ./vendor/bin/phpcs --report=checkstyle -q | cs2pr --graceful-warnings